1
0
mirror of https://github.com/captn3m0/modernart.git synced 2024-07-25 14:31:41 +00:00

Change Player names to be easier

This commit is contained in:
Nemo 2020-07-21 02:31:58 +05:30
parent 62dd23f1fc
commit 70c1e9c02b
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@ enum Players;
enum Artists;
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
% 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;
% Symmetry Breaking
constraint Score[Nemo] > Score[Jana];
solve maximize Score[Nemo];
solve maximize Score[Player2];
output outputJSON();

View File

@ -20,7 +20,7 @@ constraint forall(r in Rounds, p in Players) (
);
% Round 1 Player 1
constraint first_player[Round1] = Nemo;
constraint first_player[Round1] = Player1;
% Visible Cards per round per player for every artist > 0
constraint forall(a in Artists) (