Nim is a classic mathematical game of strategy.
On each turn, you must take at least one item from exactly one pile.
You can take as many items as you want from that pile.
The player who takes the very last item on the board wins!
Perfect strategy.