Skip to content

Conversation

@dienn1
Copy link
Collaborator

@dienn1 dienn1 commented Oct 27, 2025

This PR (should) only include SeaSaltPaper (hopefully)

dienn1 and others added 30 commits July 3, 2024 18:56
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
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");
Copy link
Collaborator

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).

Comment on lines +260 to 261
System.out.println("Playing game " + (i+1) + " out of " + totalGameBudget);
List<Integer> matchup = new ArrayList<>(nTeams);
Copy link
Collaborator

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)

@hopshackle hopshackle self-requested a review December 2, 2025 11:47

//Redeterminize hidden info (unless playerID == -1)
if (playerId != -1 && getCoreGameParameters().partialObservable) {
// TODO handle discardPiles too
Copy link
Collaborator

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;
}

Copy link
Collaborator

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?

@hopshackle
Copy link
Collaborator

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!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants