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); }
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); }
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); }
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); }
public BloodLetter(Moderator moderator) { _moderator = moderator; }
public Seer(Moderator moderator) { _moderator = moderator; }