Pebbling a Checkerboard Game

I happened upon this tweet when I got to work this morning:

So I watched the fantastic numberphile video Pebbling a Checkerboard. I wanted to get the kids to play the game and I didn’t have any checkers in the classroom, so I decided to program the game in Processing. Thankfully the programming went smoothly, and I finished it in time to have the Pre-Calculus class try to beat the game (it’s the day before winter break, and we just finished sequences and series). Fantastic timing.

Rules:

  • Goal: remove all checkers from the green prison.
  • If you click on a checker, and there is space to the right and above, then that checker will disappear, and two clones will appear to the right and above.
  • Theoretically this game board extends to infinity to the right and above.

The game is hosted by openprocessing.org or hosted by recursiveprocess.com. It should work in any web browser, including smartphones. If you’d like to increase the checkerboard size, just go to the openprocessing.org site and “tweak” the code. The size of the board is set on the first two lines.

Enjoy!

This entry was posted in Full Posts and tagged , , . Bookmark the permalink.

3 Responses to Pebbling a Checkerboard Game

  1. JamesT says:

    Thanks! I was looking for a visual to help explain and use different game setups (prison and starting pebbles).

  2. Kate Nowak says:

    OMG get out of my WAY, checkers!! This is super fun. Thanks.

Leave a Reply