Beispiel #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);
        }
Beispiel #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;
        }
Beispiel #3
0
 public void Start()
 {
     _game.Start();
 }