(hopefully) latest version of the game-off code