2 unstable releases
new 0.2.0 | Jan 5, 2025 |
---|---|
0.1.0 | Jan 5, 2025 |
#289 in Game dev
240 downloads per month
28KB
717 lines
Copenhagan Hnefatafl
WARNING: THIS IS A WORK IN PROGESS all the rules have not been implemented nor has it been thoroughly tested yet.
An engine similar to the Go Text Protocol.
This engine follows the Copenhagen Hnefatafl rules.
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 VERTEX_FROM VERTEX_TO
, the color is whose turn it is showboard
->show_board
time_settings none
|time_settings fischer MINUTES ADD_SECONDS_AFTER_EACH_MOVE
Dependencies
~135KB