private static void PlayCurrentTurn() { CurrentBoard board = new CurrentBoard(); var newBoard = board.ChangeCurrentBoard(CurrentBoard, Letter, Row, Column); do { if (CurrentBoard != newBoard) { CurrentBoard = newBoard; ReturnCurrentBoard(); continue; } Console.WriteLine("Oh no, a piece is already at this place! Try again..."); } while (false); }
private void ComputerPlayer_BestMoveFound(Move bestMove) { CurrentBoard[bestMove.Row, bestMove.Col] = _computer; CurrentBoard.UpdateBoardUI(); }