fixed the game loop so if you loss you loss not goes on