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 hnefataflThen you can run the engine with:
# --release is optional
cargo run --release --bin hnefatafl-text-protocol -- --display-gameor you can start a local server:
# --release is optional
cargo run --releaseand run a client:
# --release is optional
RUST_LOG=hnefatafl_client=debug cargo run --release --example hnefatafl-client -- --host localhostIf you are running on Linux, you'll need some dependencies as described on the website.
You can also get the rules and more information about downloading the software on the website.
Click to join our Discord server.
AUR (client)
crates.io (AI, engine, server)
chocolatey.org (client)
deb (attacker AI, defender AI, client, server)
flathub.org (client)
npm (engine)
The icon used for the flathub version of the hnefatafl-client was created by Marvin T. @marvintubat123.
Licensed under either of the Apache License or the MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this software by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
