public void VanDerWaerdenRulesTests_EndGame() { var rules = new VanDerWaerdenGameRules(); Assert.IsFalse(rules.IsFinalStateOfGame(new int[] { })); Assert.IsTrue(rules.IsFinalStateOfGame(new int[]{ 1, 1, 2, 2, 1, 1, 1 })); Assert.IsFalse(rules.IsFinalStateOfGame(new int[] { 1, 1, 2, 2, 1, 1 })); }
public NeuralPositionPlayer1(VanDerWaerdenGameRules rules) : base(rules) { this.Network = ConstructNetwork(); }
public RandomColorPlayer(VanDerWaerdenGameRules rules) : base(rules) { }
public ColorPlayerBase(VanDerWaerdenGameRules rules) : base(rules) { }
public PlayerBase(VanDerWaerdenGameRules rules) { Rules = rules; Rules.PropertyChanged += OnGameRulesPropertiesChanged; }
public NeuralColorPlayer(VanDerWaerdenGameRules rules) : base(rules) { this.Network = ConstructNetwork(); }
public PositionPlayerBase(VanDerWaerdenGameRules rules) : base(rules) { }
public RandomPositionPlayer(VanDerWaerdenGameRules rules) : base(rules) { }