-
Notifications
You must be signed in to change notification settings - Fork 98
SeaSaltPaper pull request #341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Implemented Draw phase Implemented basic classes for cards
doesnt work tho, cant cast Card to SeaSaltPaperCard for some reason??
Barely displaying anything Stuff get squished and just missing
Adding mermaids
Add CRAB and SWIMMER suite rename ShellDuo to CrabDuo SailorSharkDuo to SwimmerSharkDuo
Implement LastChance Implement processEndRound
Tested SSP with fmtesters Implement proper copy for SeaSaltPaperParameters and SeaSaltPaperCard
for CrabDuo and SwimmerSharkDuo
Only redeterminize DrawPiles and other PlayerHands DiscardPiles are still considered perfectly observable
Implement redeterminize according to individual card visibility
| config.put(RunArg.mode, "exhaustiveSP"); | ||
| } else { | ||
| config.put(RunArg.mode, "exhaustive"); | ||
| config.put(RunArg.mode, "random"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be put back to exhaustive. (An additional check to see if we have to move to random is fine; and there is now Utils.gamePerMatchup that could be used for this purpose).
| System.out.println("Playing game " + (i+1) + " out of " + totalGameBudget); | ||
| List<Integer> matchup = new ArrayList<>(nTeams); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to remove temporary logging (or put it behind a debug/verbose flag)
|
|
||
| //Redeterminize hidden info (unless playerID == -1) | ||
| if (playerId != -1 && getCoreGameParameters().partialObservable) { | ||
| // TODO handle discardPiles too |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case it helps, the Utils.DeterminisationUtilities may now make this straightforward?
| sspg.resetTurn(); | ||
| return true; | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not just return this...this Actions seems to be Immutable?
|
Looks good - changes are I think minor to undo a couple of changes in the core framework. Suggestions for Sea Salt Paper itself are purely optional. (And hurrah for adding FM tests!) |
This PR (should) only include SeaSaltPaper (hopefully)