Math game code