Skip to content

Logic

Nim

Take stones from one pile and force the last move in this classic strategy game.

Play immediately. No account required.

Take one or more stones from one pile. Whoever takes the last stone wins.

A strategic stone-taking game on a warm wooden table

Stone table

Setting the piles

Rules

  1. Players alternate turns.
  2. A turn removes one or more stones from exactly one pile.
  3. The player taking the final stone wins.

This version uses three piles and supports a local two-player match or a solo match against a local computer opponent.

A brief history

Nim is an ancient family of take-away games. The name became associated with the mathematical game in the nineteenth century, and its winning strategy helped popularize the study of impartial games.

Privacy

Board state and turns stay local. No account is required.