hnefatafl-copenhagen

Crates.iohnefatafl-copenhagen
lib.rshnefatafl-copenhagen
version5.0.0
created_at2025-01-05 02:17:56.950669+00
updated_at2026-01-25 21:11:50.692313+00
descriptionCopenhagen Hnefatafl client, engine, server and artificial intelligence
homepagehttps://hnefatafl.org
repositoryhttps://github.com/dcampbell24/hnefatafl
max_upload_size
id1504423
size837,802
fedora-coreos-crates-owners (github:coreos:fedora-coreos-crates-owners)

documentation

https://docs.rs/hnefatafl-copenhagen/

README

Copenhagen Hnefatafl

Discorddocs-rsInstall

Opening Game

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.

Building and Running

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.

Icon

drawing is derived from an image by Marvin Tubat.

License

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/>.
Commit count: 2534

cargo fmt