This is a website for a Copenhagen Hnefatafl server and client.

Hnefatafl Board

Binaries

Arch and Derivatives

yay --sync --noconfirm --mflags --skipinteg hnefatafl-copenhagen

Debian and Derivatives

In your terminal run the following to install the hnefatafl-client:

sudo dpkg --install hnefatafl-copenhagen_0.13.1-1_amd64.deb

It can be removed by running:

sudo dpkg --remove hnefatafl-copenhagen

0.13.1_amd64

Build Dependencies (Linux)

ALSA development files are needed to build cpal on Linux (rodio dependency, hnefatafl-client dependency). These are provided as part of the alsa-lib package on Arch, libasound2-dev package on Debian and Ubuntu, and alsa-lib-devel on Fedora.

The package uses the mold linker. This is provided via the mold package on Arch, Debian, Ubuntu, and Fedora.

To build the man pages you will need a version of pandoc that supports building Djot files. It can be downloaded from pandoc.

To verify that the debian package doesn’t have problems, we use lintian:

sudo apt install lintian

Install

In your terminal run the following to install the client with Rust’s cargo:

cargo install hnefatafl-copenhagen --features client

Then run the client:

hnefatafl-client

You will automatically connect to the main server.

At the moment their may be fairly regular updates. If you run into problems, make sure you are running the latest version.

Install .deb Package

You may have to install cargo-deb.

git clone https://github.com/dcampbell24/hnefatafl-copenhagen.git
cd hnefatafl-copenhagen/
git checkout v0.13.1
./debian/build.sh
sudo dpkg --install ./target/debian/hnefatafl-copenhagen_0.13.1-1_amd64.deb

Hnefatafl Org by David Lawrence Campbell is licensed under CC BY 4.0