Change Player names to be easier
This commit is contained in:
parent
62dd23f1fc
commit
70c1e9c02b
|
@ -3,7 +3,7 @@ enum Players;
|
||||||
enum Artists;
|
enum Artists;
|
||||||
enum Rounds;
|
enum Rounds;
|
||||||
|
|
||||||
Players = {Nemo, Jana};
|
Players = {Player1, Player2, Player3,Player4};
|
||||||
|
|
||||||
% The order here is opposite of what you'd usually use while playing the game
|
% The order here is opposite of what you'd usually use while playing the game
|
||||||
% because this results in LiteMetal getting a higher numeric value and that makes
|
% because this results in LiteMetal getting a higher numeric value and that makes
|
||||||
|
@ -31,8 +31,7 @@ array[Rounds, Artists] of var 0..10: CardsForArtist;
|
||||||
array[Rounds] of var 0..10: NominalTurnCount;
|
array[Rounds] of var 0..10: NominalTurnCount;
|
||||||
|
|
||||||
% Symmetry Breaking
|
% Symmetry Breaking
|
||||||
constraint Score[Nemo] > Score[Jana];
|
|
||||||
|
|
||||||
solve maximize Score[Nemo];
|
solve maximize Score[Player2];
|
||||||
|
|
||||||
output outputJSON();
|
output outputJSON();
|
||||||
|
|
|
@ -20,7 +20,7 @@ constraint forall(r in Rounds, p in Players) (
|
||||||
);
|
);
|
||||||
|
|
||||||
% Round 1 Player 1
|
% Round 1 Player 1
|
||||||
constraint first_player[Round1] = Nemo;
|
constraint first_player[Round1] = Player1;
|
||||||
|
|
||||||
% Visible Cards per round per player for every artist > 0
|
% Visible Cards per round per player for every artist > 0
|
||||||
constraint forall(a in Artists) (
|
constraint forall(a in Artists) (
|
||||||
|
|
Loading…
Reference in New Issue