[cyril] moved game logic out of gl logic.