Tablut
Play Tablut, the old Sami game of the Viking-age tafl family: help the king escape to the edge, or trap him. Vs the computer or a friend.
How to play
- The king starts on the throne in the centre, with 8 defenders around him. 16 attackers start in groups of four at the middle of each edge. The attackers move first.
- Every piece, the king too, moves any number of empty squares in a straight line, up, down, left or right, like a rook in chess. Pieces never jump.
- Only the king may stop on the throne; other pieces may not pass over it.
- Capture an enemy piece by trapping it between two of yours in a line (or between one of yours and the empty throne). You must make the trap by moving: stepping in between two enemies is safe. The king helps the defenders capture.
- The defenders win when the king reaches any square on the edge of the board.
- The attackers win by capturing the king: on or next to the throne they must surround him on all four sides (the empty throne counts as one side); anywhere else two attackers on opposite sides are enough.
- A side that cannot move loses. Fifty moves each without a capture is a draw.
Keyboard and touch
| Arrow keys | Move around the board |
| Enter or Space | Pick a piece, then the square it moves to |
| Undo | Takes back your last move (and the computer’s reply) |
Tips
- As the defenders, open two roads for the king at once: the attackers can block only one per move.
- As the attackers, guard the edges first. Form diagonal chains near the corners; diagonal neighbours cannot be captured together.
- Do not rush to capture: every attacker that leaves its post may open a road for the king.
- Watch the squares next to the throne: there the king needs four attackers around him, so he is much safer close to home.
- Pieces differ by shade and outline, and the king carries a K, so colour is never the only clue.
About this game
Tablut is one of the tafl games, the board games of the Norse world that were played long before chess reached Scandinavia. Its rules were written down by the Swedish naturalist Carl Linnaeus on his journey to Lapland in 1732, where he saw the Sámi play it. His notes are short and leave gaps, so modern players use reconstructed rules; we use a common modern set: edge escape, the king captured by four on or next to the throne and by two elsewhere, an armed king, and a hostile empty throne.
With these rules the defenders usually have the easier game. The computer searches ahead with alpha-beta pruning: 1 move on easy, 2 on medium and 3 on hard, scoring open roads for the king, pieces left and attackers around the king. The tests compare every legal move and every capture with an independent Python version of the rules on positions from random games.