FreezeNova

Hnefatafl Unblocked

Help the king slip into a corner, or close the ring around him first.

Hnefatafl gameplay
Touch friendly 2 players on one screen
Report bug

What is Hnefatafl?

Hnefatafl is an old Norse board game with two uneven sides. Here it is played as Brandubh on a 7x7 board: a king and four defenders start in the center, and eight attackers start along the edges. The king's side wins with a corner escape, and the raiders win by hemming him in.

Players
1–2+ players (same screen)
Plays on
Phone, tablet & desktop
Input
Mouse, Touch, Keyboard
Checked

Hnefatafl is a game of escape and encirclement that Norse players enjoyed long before chess reached their lands. The sides are deliberately unequal. In the middle of the board sits a king with a small bodyguard. Around the edges wait twice as many attackers, trying to trap him before he can slip away to safety. This unblocked Hnefatafl uses the compact 7x7 Brandubh setup from Christopher Müller’s PaperGames, so a full game fits in a short break, against a three-level AI or a friend sharing your device.

Goals and Movement

Defenders (the king plus four guards) win the moment their king steps into a corner.

Attackers (eight pieces arranged in a plus shape around the rim) win by boxing the king in from every direction.

Being unable to move at all also counts as a loss.

The attacking side opens. All pieces, king as well, travel as far as they like along a row or column, the way a rook does. There are no diagonal moves and no jumping.

Five squares are special. The center throne and the four corners belong to the king alone. To everyone else they are solid blocks that cannot be entered or crossed. They do act as an enemy, though, when an ordinary piece standing beside one gets trapped.

Captures

Ordinary pieces fall when an enemy closes them in from both ends of a line. A capture only happens on the capturer’s own move, so walking into the space between two opponents does you no harm. The king is a bigger target: he falls when every neighboring square is an attacker or the edge of the board, which means only three attackers are needed if he is on the rim. His throne is never used against him.

Hnefatafl controls

To do this KeyboardMouseTouch
Slide one of your pieces Tab to the board, arrow keys to reach a square, Enter on your piece and again on the targetClick your piece, then the square it should slide toTap your piece, then the target square
Choose your army and the AI level —Pick defenders or attackers and a level, then click "New game"Pick defenders or attackers and a level, then tap "New game"
Undo a move —Click "Undo"Tap "Undo"
Give the game away —Click "Resign"Tap "Resign"

Plans for Each Side

Playing the defenders

  • Clear the king’s paths early. Move guards off his row and column so he can sprint.
  • Aim for a double threat. If the king can reach two corners next turn, the attackers can only block one.
  • Keep guards away from the corners, where a single attacker can capture them against the corner square.

Playing the attackers

  • Occupy the squares beside the corners. One piece there shuts two escape lines.
  • Herd the king toward an edge, where three pieces are enough to finish him.
  • Do not chase guards. Every move spent on a capture is a move the king can use to run.

Learning and Levels

The Easy AI picks moves blindly, Medium checks one turn ahead, and Hard digs several turns deep before a short timer runs out. Taking the defenders first is a friendly way to learn how the king moves. Then switch sides and see how hard he is to catch. Fans of asymmetric hunts should also try Fox and Geese, and Bagh-Chal is another game where the two sides play by different numbers.

Hnefatafl: questions players ask

Is Hnefatafl the same as Viking chess?

Yes, people often call it Viking chess, though it is a separate game with its own rules. Hnefatafl belongs to a wider group of related tafl games. This board plays Brandubh, its small 7x7 relative, which makes games short and sharp.

Which side is easier to play in Hnefatafl?

Many beginners find the defenders more forgiving, because a king with open lines is hard to stop. The attackers need patience and careful corner guarding. Try both against the AI to see which style suits you.

How is a regular piece captured?

By sandwiching it. Slide a piece so that an enemy ends up flanked by two of yours along a row or column. Corners and the throne also work as one side of the trap. Moving between two enemies yourself is safe.

Does the game save if I close the tab?

Yes. Your current game is saved in the browser automatically and comes back the next time you open the page on the same device.

Credits and license

Hnefatafl was created by Christopher Müller and released as open source. FreezeNova hosts a lightly adapted copy on its own server, together with the original license file.

  • Source code: github.com/YourChaosChris (original project)
  • Code license: MIT
  • Art & audio: MIT (board squares and pieces drawn with CSS, no image or audio files)
  • Our changes: We include only the Hnefatafl page of PaperGames, set to English. It has no offline service worker, no language switch and no links to other parts of the original site. The rules and AI were not touched.

More like Hnefatafl

Strategy Games