| Crates.io | hnefatafl-copenhagen |
| lib.rs | hnefatafl-copenhagen |
| version | 5.0.0 |
| created_at | 2025-01-05 02:17:56.950669+00 |
| updated_at | 2026-01-25 21:11:50.692313+00 |
| description | Copenhagen Hnefatafl client, engine, server and artificial intelligence |
| homepage | https://hnefatafl.org |
| repository | https://github.com/dcampbell24/hnefatafl |
| max_upload_size | |
| id | 1504423 |
| size | 837,802 |

An engine similar to the Go Text Protocol, a client, and a server. For help on how to use the engine see the module documentation.
First you need to install Rust. Then:
git clone https://github.com/dcampbell24/hnefatafl.git
cd hnefatafl
You can pass -- --help to any of the following commands to get all of the
runtime options.
Then you can run the engine with:
cargo run --release --bin hnefatafl-text-protocol -- --display-game
or you can start a local server:
cargo run --release
and run a client:
# On Windows pass to cargo `--features console` to see console output.
# Pass to cargo `--features debug` to enable iced debugging.
cargo run --release --example hnefatafl-client -- --host localhost
If you are running on Linux, you'll need some dependencies as described on the website.
is derived from an
image by Marvin Tubat.
Licensed under AGPLv3.
Copyright (C) 2025-2026 Developers of the hnefatafl-copenhagen project
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.