Example #1
0
        public static Stone GetHumanMove(GameRunner gr)
        {
            Console.WriteLine($"{gr.G.Current.Name}'s Turn");
            int stoneCol = PromptInt("Enter the column", 1, 15);
            int stoneRow = PromptInt("Enter the row", 1, 15);

            return(new Stone(stoneRow, stoneCol, gr.G.IsBlacksTurn));
        }
Example #2
0
        public static void DisplayBoard(GameRunner gr)
        {
            Console.Clear();

            for (int i = 0; i < 16; i++)
            {
                for (int j = 0; j < 16; j++)
                {
                    Console.Write(gr.Board[i, j]);
                }
                Console.WriteLine();
            }
        }