Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Nine men's morris

Play nine men's morris against the computer at three levels or with a friend: place, move and fly your pieces and make mills to remove theirs.

How to play

  1. Each player has 9 pieces. Take turns placing one piece on any empty point.
  2. Three of your pieces in a straight line along a board line make a mill. Each time you make a mill, remove one of your opponent’s pieces. Pieces in a mill are safe unless every piece they have is in a mill.
  3. When all pieces are placed, take turns moving a piece along a line to the next empty point. Opening a mill and closing it again makes a new mill.
  4. A player down to 3 pieces may fly: move a piece to any empty point.
  5. You lose with fewer than 3 pieces, or when you cannot move. Fifty moves each without a mill is a draw.

Keyboard and touch

TabMove from point to point
Enter or SpacePlace, pick a piece, pick where it goes, or pick a piece to remove
UndoTakes back your last move (and the computer’s reply)

Tips

  • While placing, keep your pieces free to move: a crowded corner can leave you with no moves later.
  • The middle points of each side (d6, b4, f4, d2 and their outer and inner cousins) join two squares and are worth more.
  • A “running mill”, a piece that can slide in and out of two mills, removes a piece every second move.
  • Always check whether your opponent is one move from a mill before you start your own plan.

About this game

Nine men’s morris is one of the oldest board games still played; boards are carved in medieval churches and a Roman-era version is known. These are the common modern rules: removal from a mill only when every other piece is also in a mill, flying with three pieces, and a draw after 50 moves each without a mill.

The computer looks 1 move ahead on easy (with randomness), 3 on medium and 5 on hard, using alpha-beta search; it counts pieces, nearly finished mills and room to move. Pieces differ by shade and outline, and pieces in a mill have a ring.

The tests check the board (every line, every mill), placing, moving, flying and removal on random positions against an independent Python version, and that the computer completes and blocks mills.

See you tomorrow!

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

Browse every product