Example #1
0
        public void Test_Start_TrumpIsLastInDeck()
        {
            DurakGame game = new DurakGame();

            game.AddPlayer(0);
            game.AddPlayer(1);
            game.Start();

            Assert.That(game.Trump == game.Deck.Last().Suit);
        }
Example #2
0
        static void Setup()
        {
            int playerCount = 3;

            game = new DurakGame();

            for (int i = 0; i < playerCount; i++)
            {
                game.AddPlayer(i);
            }

            game.Start();
            previousDefender = game.DefenderIndex;
        }
Example #3
0
 public void Start()
 {
     _game.Start();
 }