[cyril] try to move game logic out of gl logic.