23 releases (12 breaking)
Uses new Rust 2024
new 0.13.4 | Apr 21, 2025 |
---|---|
0.13.0 | Mar 27, 2025 |
#192 in Game dev
454 downloads per month
2.5MB
7.5K
SLoC
Copenhagen Hnefatafl
An engine similar to the Go Text Protocol, a client, and a server.
Differences from the Go Text Protocol
- The character set is UTF-8.
clear_board
->reset_board
genmove
->generate_move
generate_move
returnsCOLOR VERTEX_FROM VERTEX_TO
- We keep track of whose turn it is.
- play takes
play COLOR VERTEX_FROM VERTEX_TO
orplay COLOR resigns
and returns= CAPTURES
, whereCAPTURES
has the formata2 c2 ...
. The color is whose turn it is. showboard
->show_board
time_settings none
|time_settings fischer MINUTES ADD_SECONDS_AFTER_EACH_MOVE
final_status_list
->final_status
=black_wins
|draw
|ongoing
|white_wins
Website
See the website for more information about downloading and building the software.
Rules
See the Rules for how to play.
Icon
The icon used for the flathub version of the hnefatafl-client was created by Marvin T. @marvintubat123.
Packaging Status
0.13.4
AUR
0.13.4
crates.io
0.13.4
chocolatey.org
0.13.4
deb
0.13.4
flathub.org
Contributors
Made with contrib.rocks.
Dependencies
~5–44MB
~709K SLoC