skeleton of game logic