<div id="google_translate_element"></div>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<script type="text/javascript">
  function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
  }
</script>

## Rules

From [Copenhagen Hnefatafl][1] with minor changes.

The Copenhagen rules were outlined 2012 by Aage Nielsen (Denmark), Adam Bartley
(Norway) and Tim Millar (UK). English text and diagrams: Adam Bartley (Norway)

Based on the version that was last updated 21.12.2024.

Copyright © 1998-2025 Aage Nielsen, All Rights Reserved;

`A`: attacker  
`a`: captured attacker  
`K`: king  
`k`: captured king  
`D`: defender  
`d`: captured defender  
`R`: restricted space  

[1]: https://aagenielsen.dk/copenhagen_rules.php

### 1. Starting Board Position

![Opening Game]screenshots/opening_game.png

### 2. First Turn

The attackers move first.

### 3. Movement

You can move to the edge of the board or another piece orthogonally:

![Move]screenshots/move.png

### 4. Capture

All pieces except the king are captured if sandwiched between two enemy
pieces, or between an enemy piece and a restricted square. A piece is only
captured if the trap is closed by the aggressor's move, it is therefore
permitted to move in between two enemy pieces. The king may take part in
captures.

#### Captures

```plain
  ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
11│R.........R│ │R.........R│ │R.........R│ │Rd........R│
10│...........│ │...........│ │...........│ │..↑........│
 9│...........│ │...........│ │...........│ │..A........│
 8│...........│ │...........│ │...........│ │...........│
 7│...........│ │...........│ │...........│ │...........│
 6│.....R.....│ │...A.R.....│ │..K..R.....│ │.....R.....│
 5│.....d.....│ │...d.......│ │..↓........│ │...........│
 4│.A→→→......│ │.Ad.dA.....│ │...........│ │...........│
 3│...........│ │...↑.......│ │..a........│ │...........│
 2│...........│ │...A.......│ │..D........│ │...........│
 1│R.........R│ │R.........R│ │R.........R│ │R.........R│
  └───────────┘ └───────────┘ └───────────┘ └───────────┘
   ABCDEFGHIJK   ABCDEFGHIJK   ABCDEFGHIJK   ABCDEFGHIJK
```

#### Doesn't Capture

```plain
  ┌───────────┐ ┌───────────┐
11│R.........R│ │R.........R│
10│...........│ │...........│
 9│...........│ │...........│
 8│...........│ │...........│
 7│...........│ │...........│
 6│.....K.....│ │.....R.....│
 5│.....D.....│ │.D.D.......│
 4│.A→→→......│ │..↑........│
 3│...........│ │..A........│
 2│...........│ │...........│
 1│R.........R│ │R.........R│
  └───────────┘ └───────────┘
   ABCDEFGHIJK   ABCDEFGHIJK
```

#### Shield Wall

A row of two or more taflmen along the board edge may be captured together, by
bracketing the whole group at both ends, as long as every member of the row has
an enemy taflman directly in front of him.

A corner square may stand in for one of the bracketing pieces at one end of the
row. The king may take part in the capture, either as part of the shield wall
or as a bracketing piece. If the king plus one or more defenders are attacked
with a shield wall, the attack will capture the defenders but not the king.

```plain
  ┌───────────┐ ┌───────────┐
11│R.........R│ │R.........R│
10│...........│ │...........│
 9│...........│ │...........│
 8│...........│ │...........│
 7│...........│ │...........│
 6│.....R.....│ │.....R.....│
 5│...........│ │...........│
 4│...........│ │...........│
 3│..D........│ │...........│
 2│..↓DDD.....│ │........AA.│
 1│R..aaaD...R│ │R....A→.KdR│
  └───────────┘ └───────────┘
   ABCDEFGHIJK   ABCDEFGHIJK
```

### 5. Restricted Squares

Restricted squares may only be occupied by the king. The central restricted
square is called the throne. It is allowed for the king to re-enter the throne,
and all pieces may pass through the throne when it is empty.

Restricted squares are hostile, which means they can replace one of the two
pieces taking part in a capture. The throne is always hostile to the attackers,
but only hostile to the defenders when it is empty.

The four corner squares are also restricted and hostile, just like the throne.
The board edge is _NOT_ hostile.

```plain
  ┌───────────┐
11│R.........R│
10│...........│
 9│...........│
 8│...........│
 7│...........│
 6│.....R.....│
 5│...........│
 4│...........│
 3│...........│
 2│...........│
 1│R.........R│
  └───────────┘
   ABCDEFGHIJK
```

### 6. King's Side Win (Defenders)

If the king reaches any corner square, the king has escaped and his side wins.

![Defender Wins]screenshots/defender_wins.png

#### Exit Forts

The defenders also win if the king has contact with the board edge, is able to
move, and it is impossible for the attackers to break the fort.

```plain
  ┌───────────┐ ┌───────────┐
11│R.........R│ │R.........R│
10│...........│ │...........│
 9│...........│ │...........│
 8│...........│ │...........│
 7│...........│ │...........│
 6│.....R.....│ │.....R.....│
 5│...........│ │...........│
 4│...........│ │...........│
 3│...........│ │....DD.....│
 2│....DD.....│ │....D.D....│
 1│R..DK.D...R│ │R...DKD...R│
  └───────────┘ └───────────┘
   ABCDEFGHIJK   ABCDEFGHIJK
```

### 7. Attackers Win

The attackers win if they can capture the king.

The king is captured when the attackers surround him on all four cardinal
points, except when he is next to the throne.

If on a square next to the throne, the attackers must occupy the three remaining
squares around him.

The king cannot be captured on the board edge.

#### The King is Captured

```plain
  ┌───────────┐ ┌───────────┐ ┌───────────┐
11│R.........R│ │R.........R│ │R.........R│
10│...........│ │...........│ │...........│
 9│...........│ │...........│ │...........│
 8│...........│ │...........│ │...........│
 7│.....A.....│ │...........│ │...........│
 6│....AkA....│ │.....R.....│ │.....R.....│
 5│.....A.....│ │....AkA....│ │...........│
 4│...........│ │.....A.....│ │....A......│
 3│...........│ │...........│ │...AkA.....│
 2│...........│ │...........│ │....A......│
 1│R.........R│ │R.........R│ │R.........R│
  └───────────┘ └───────────┘ └───────────┘
   ABCDEFGHIJK   ABCDEFGHIJK   ABCDEFGHIJK
```

If the attackers surround the king and _ALL_ remaining defenders with an
unbroken ring, then they win, as they have prevented the king from escaping.

![Attacker Wins]screenshots/attacker_wins.png

#### The King is Not Captured

```plain
  ┌───────────┐ ┌───────────┐
11│R.........R│ │R.........R│
10│...........│ │...........│
 9│...........│ │...........│
 8│...........│ │...........│
 7│...........│ │...........│
 6│.....R.....│ │.....R.....│
 5│...........│ │...........│
 4│...........│ │...........│
 3│...........│ │...........│
 2│....A......│ │.A.........│
 1│R..AKA....R│ │RKA.......R│
  └───────────┘ └───────────┘
   ABCDEFGHIJK   ABCDEFGHIJK
```

### 8. Perpetual Repetitions

#### Deleted Rule

Perpetual repetitions are forbidden. Any perpetual repetition results in a loss
for the defenders.

#### Added Rule

If the defender would repeat a board position, the move is not allowed.

### 9. Automatic Loss

If a player cannot move, he loses the game.