start game and exit game works