Beispiel #1
0
        public void CanCheckAPlayerAlignedToVillage()
        {
            var moderator = new Moderator();

            moderator.NewPlayer("david", "villager");
            var seer = new Seer(moderator);

            seer.TargetPlayer("david");

            moderator.EndNight();
            Assert.Equal("villager", seer.PlayerAlignment);
        }
Beispiel #2
0
        public void CanCheckAPlayerDiscoverAlignedToWarewolves()
        {
            var moderator = new Moderator();

            moderator.NewPlayer("david", "werewolf");
            var seer = new Seer(moderator);

            seer.TargetPlayer("david");

            moderator.EndNight();
            Assert.Equal("werewolf", seer.PlayerAlignment);
        }
Beispiel #3
0
        public void MultiplePlayersCanBeDistinguished()
        {
            var moderator = new Moderator();

            moderator.NewPlayer("david", "werewolf");
            moderator.NewPlayer("vince", "villager");

            var seer = new Seer(moderator);

            seer.TargetPlayer("david");
            moderator.EndNight();
            Assert.Equal("werewolf", seer.PlayerAlignment);
        }
Beispiel #4
0
        public void BloodLetterCanMarkPlayerAsWolfPack()
        {
            var moderator = new Moderator();

            moderator.NewPlayer("vince", "villager");

            var bloodLetter = new BloodLetter(moderator);
            var seer        = new Seer(moderator);

            seer.TargetPlayer("vince");
            bloodLetter.TargetPlayer("vince");

            moderator.EndNight();
            Assert.Equal("werewolf", seer.PlayerAlignment);
        }
Beispiel #5
0
 public BloodLetter(Moderator moderator)
 {
     _moderator = moderator;
 }
Beispiel #6
0
 public Seer(Moderator moderator)
 {
     _moderator = moderator;
 }