示例#1
0
        public void PlayerWithRedCowsGoesFirst()
        {
            //TODO: Make sure that the the player who goes first has the dark cows
            IGameSession gameSession = GameSessionFactory.CreateGameSession();

            Assert.AreEqual(gameSession.Current_Player.Color, Color.Red);
        }
示例#2
0
        static void Main(string[] args)
        {
            // Set the stage
            SetConsoleProperties();

            IGameSession gameSession = GameSessionFactory.CreateGameSession();

            gameSession.Start();

            if (Console.ReadLine() == "y")
            {
                Main(null);
            }
            else
            {
                Environment.Exit(0);
            }
        }