development game logic