Simple implementation of the classic dots and boxes game.