예제 #1
0
        private bool CheckIsItDraw()
        {
            var winner = new Winner(_boardSize, _currentPlayer, _fieldsToWin);

            if (winner.IsDraw())
            {
                var board = new Board();
                board.DisplayBoard(_tab);//display board
                Console.WriteLine($"THERE IS NO WINNER... IT'S DRAW " +
                                  $"\n\n\n\n -----tap any key on keyboard, to get back to main menu------");
                _gameFinished = true;

                return(true);
            }
            return(false);
        }