Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Lines of Action

Move each piece as many squares as there are pieces on its line, and be first to join all your pieces in one group. Strategy for teens and adults.

How to play

  1. Black starts on the top and bottom rows, White on the left and right columns (12 pieces each, corners empty). Black moves first.
  2. A piece moves in a straight line: across, up and down, or diagonally. It must move exactly as many squares as there are pieces (of both colours, counting itself) anywhere on that line.
  3. It may jump over its own pieces but never over an enemy piece. It may land on an empty square or on an enemy piece, which is captured. It may not land on its own piece.
  4. The goal is to join all your pieces into one connected group, where pieces touch sideways or diagonally. The line above the board shows how many groups each side has.
  5. If a move connects both players at once (for example by a capture), the player who moved wins. A player reduced to one piece is connected. A player with no legal move passes. 300 moves without a winner is a draw.

Keyboard and touch

Arrow keysMove around the board
Enter or tapPick one of your pieces, then a highlighted square to move to.
EscDrop the selected piece

Tips

  • Head for the middle: pieces gathered near the centre connect far more easily than pieces on the edges.
  • Capturing is not always good: every piece you take makes it easier for your opponent to connect.
  • Lines with many pieces give long moves. Count before you move, and look at which lines your move changes for your opponent.
  • Block a straggler: a lone enemy piece on the edge can often be kept away from its group.
  • The hard computer looks 3 moves ahead and judges how tightly each side's pieces are packed.

About this game

Lines of Action was invented by Claude Soucie and made famous by Sid Sackson's book A Gamut of Games (1969). It became a favourite of computer game research and of the Computer Olympiad. This page plays the standard rules with the common tournament ruling that a move connecting both sides at once is a win for the player who moved (Sackson's book called it a draw), plus a 300-move limit. The computer uses minimax with alpha-beta pruning and scores how close together each side's pieces are and how many separate groups they form. Everything runs in your browser.

See you tomorrow!

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

Browse every product