game logic first iteration