public static string StopPlaying(IGuildUser user) { if (!GameIsInProgress()) { return(errGameNotInProgress); } if (!UserIsInGame(user)) { return(errUserNotPlaying); } player1 = null; player2 = null; TicTacToe.ResetGame(); return(sucGameStopped); }
public static void ForceGameRestart() { player1 = null; player2 = null; TicTacToe.ResetGame(); }