Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Pente

Play pente: five in a row with captures on a 19 x 19 board. Take pairs by closing them in; win with five in a row or five captured pairs.

How to play

  1. Black and white take turns placing one stone on any empty point. Black goes first.
  2. Capture: if your new stone closes in exactly two enemy stones in a straight line (your stone, two of theirs, then another of yours), the pair is removed. Lines go across, down and diagonally, and one stone can capture in several directions at once.
  3. Placing your own stone into a gap between two enemy stones is safe: only the player who closes the line captures.
  4. Win by making five or more of your stones in an unbroken line, or by capturing five pairs (ten stones).
  5. Tournament rule (on by default): the first stone goes on the centre point, and Black’s second stone must be at least three points away from the centre. This trims the first player’s advantage.

Keyboard and touch

Arrow keysMove around the board
Enter or SpacePlace a stone
UndoTakes back your last move (and the computer’s reply)

Tips

  • Two of your stones side by side with an enemy stone at one end and an empty point at the other are a target: your opponent can take them next move.
  • An open three still has to be answered, but in pente you can often answer it with a capture that breaks the line and scores a pair at the same time.
  • Count the pairs. A player with four pairs only needs one more capture, so any exposed pair becomes as dangerous as an open four.
  • The capture threat is a weapon: a move that threatens a pair and builds a line at once forces your opponent to choose.

About this game

Pente grew out of the Japanese game ninuki-renju, five in a row with captures, and became popular in the United States in the late 1970s. It is played on a go board, and the capture rule makes it far more tactical than plain five in a row: lines can be broken, and a player can win without ever making five.

The computer gives every empty point near the stones a score from the lines it would build and block, the pairs it would capture or deny, and the danger of leaving its own pair open. Hard also looks at your strongest reply. The board shows the last move, the stones just captured and the winning line.

The tests replay random games and check every capture and win against a separately written Python version of the rules, and check that the computer wins by five, wins with a fifth capture and blocks an open four.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product