Example #1
0
        /// <summary>
        /// This function will set up the required functions for a new computer vs computer game.
        /// </summary>
        public void NewCVCGame()
        {
            Board board = new Board();

            board.DrawBoard();

            Piece piece = new Piece();

            piece.SetPieces();

            Score scores = new Score();

            scores.SetScores();

            Console.SetCursorPosition(46, 18);
            Console.ForegroundColor = ConsoleColor.Black;

            Move move = new Move();

            move.AllowCVCMovement();

            Console.ReadLine();
        }
Example #2
0
        /// <summary>
        /// This function will set up the required functions for a new player verus player game.
        /// </summary>
        public void NewPVPGame()
        {
            Board board = new Board();

            board.DrawBoard();                              // Displays the starting board via the Board class.

            Piece piece = new Piece();

            piece.SetPieces();                              // Displays the starting pieces via the Piece class.

            Score scores = new Score();

            scores.SetScores();                             // Displays the starting scores via the Score class.

            Console.SetCursorPosition(46, 18);
            Console.ForegroundColor = ConsoleColor.Black;   // Sets the cursor starting position.

            Move move = new Move();

            move.AllowPVPMovement();                        // Calls the AllowPVPMovement() function via the Move class.

            Console.ReadLine();
        }