Marquette University

Department of Mathematics, Statistics and Computer Science

Wim Ruitenburg's Spring 2016 MATH 1300-101

Last updated: May 2016
Comments and suggestions: Email   wim.ruitenburg@marquette.edu

Finite two-player games

We are familiar with all kinds of board games. Chess, checkers, go, and similar games are examples of two-player games with `full information.' Both players can see the full game situation, contrary to many card games where we may not know the hand of cards held by the other player(s). Below are examples of two-player games with `full information'.

Nim

We are given some piles of pennies, at least one pile, but usually several piles. Two players alternatingly must take pennies from the piles, subject to the following rules: You win when you empty the last pile so that the (losing) player can not make a next move.
Winning strategy: In class we hinted at writing the number of pennies in each pile in binary notation.

The Game of Nimr

Winning Strategies for Nimr


The Game of Hex

The following two pictures are licensed under the GNU Free Documentation License. It is material from the Wikipedia article "Hex Game".
The general board is a diamond-shaped frame of hexagons. In class we used a 10 by 10 board. Below is a board of size 11 by 11.
The red and blue players alternatingly put a red stone, respectively a blue stone, on one of the empty hexagonal fields, without replacement. A player wins if (s)he creates a connecting path between the sides of his/her color. Below is an end situation where red has won.
Question: Is there a winning strategy for one of the players? If so, what is it?

Hex on the Web


Example Problem(s)

  1. Suppose we have two piles of pennies in the game of Nim, of sizes 7 and 12. It is your turn. Give a move that keeps you in a winning position.
  2. Suppose we have three piles of pennies in the game of Nim, of sizes 7 and 12 and 7. It is your turn. Give a move that keeps you in a winning position.
  3. Randomly set up 4 or 5 piles of up to 10 pennies. Determine if there is a winning strategy, and if so give a first winning move.