This is an implementation of the traditional Scandinavian game Hnefatafl (also known as Tafl, Viking Chess, or Brandubh) with support for AI players and variable board sizes. The game is set to use Fetlar rules and a link to that ruleset is below.

http://tafl.cyningstan.com/page/88/fetlar-hnefatafl

[If using the AI on a larger board, I recommend decreasing the depth for performance]
The AIs are implemented with a simple Minimax + Alpha-beta Pruning adversarial search with a simple heuristic (so no machine-learning or deep learning), and whose search depth can be adjusted in the preferences menu.

Controls:
[Right-click + Drag to Rotate]
[Left click to Select Piece, then Left click again to Select Destination]
[Click the refresh button to load new game]
[Click the Ellipses to open or close the preferences menu]


Made by James Harden [03/09/2024]

Download

Download NowName your own price

Click download now to get access to the following files:

Hnefatafl AI win64.zip 27 MB
Hnefatafl AI macOS.zip 36 MB
Hnefatafl AI linux.zip 25 MB

Leave a comment

Log in with itch.io to leave a comment.