static void Main(string[] args)
        {
            Player playerOne = new Player("X");
            Player playerTwo = new Player("O");
            Board board = new Board();

            Game game = new Game(board, playerOne, playerTwo);
            game.Play();
        }
Beispiel #2
0
        public Game(Board board, Player playerOne, Player playerTwo)
        {
            Board = board;
            PlayerOne = playerOne;
            PlayerTwo = playerTwo;
            CurrentPlayerTurn = playerOne;

            _GameOver = false;
        }