private bool HandleGameOver() { if (!gameOver || (PD.gameType == PersistData.GT.Challenge && board1.IsDead())) { return(false); } if (((board1.IsKeyPressAccepted() && cursor1.launchOrPause()) || clicker.isDown()) && end == null) { if (PD.gameType == PersistData.GT.Challenge) { PD.DoWin(board1.GetScore(), (hud as PuzzleHUD).GetRemainingMoves(), board1.IsDead()); } else { PD.DoWin(board1.GetScore(), hud.GetTimeInSeconds(), board1.IsDead()); } } return(true); }