示例#1
0
        public static void PromptMove(Game game)
        {
            OutputBoard(game);
            int count = 1;

            if (game.AvaliableTurnsReadOnly().Count == 0)
            {
                String victory = game.BlackPoints() > game.WhitePoints() ? "Black Wins\n" : "White Wins\n";
                Console.WriteLine(victory);
                return;
            }
            foreach (Tile tile in game.AvaliableTurnsReadOnly())
            {
                Console.WriteLine(count + ". " + tile.GetCoordAsString());
                count++;
            }
            RecieveInput(game);
            PromptMove(game);
        }