The Mathematics of Puzzles and Games

This webpage is a supplement to the Duke TIP class I taught at KU on November 8-9, 2008. It's under construction right now as I add material on the games we studied in the class, and some of their variations.


Nim

To play this game, you need a set of counters that are separated into piles. Two players take turns in alternation. On his or her turn, a player may remove any number of counters from a single pile. The winner is the player who takes the last counter.


One-Suit Bridge

To play this game, shuffle a one-suit deck of 2n cards and deal n cards to each player. Both players lay their cards face up on the table. At each turn ("trick"), first one player, then the other, plays a card. Whoever plays the higher card wins the trick and plays first to the next trick. The object is to take as many tricks as possible.


The 15-Puzzle


Hex


Matrix Games (Prisoner's Dilemma, Chicken, etc.)

These games are often studied by economists in order to model real-world behavior.


Pawns

Start with a chessboard with 3 rows ("ranks")and n columns ("files"). Place white pawns on the bottom rank and black pawns on the top rank. White and Black take turns, with White moving first. The pawns move just as in chess; it can move to an empty square in front of it or capture a pawn of the opposite color diagonally in front of it. To win, you must either move a pawn to the opponent's back rank (which counts as two points) or reach a position where your opponent has no legal move (which counts as one point).