Replay feature integrated into main game loop