
This is the original logic of the game, as written by Andrew Welch.

