functioning start game logic