game logic and new game creation done