Skip to content
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

Add a View class for hidden / public information #19

Open
SirRender00 opened this issue Feb 2, 2022 · 1 comment
Open

Add a View class for hidden / public information #19

SirRender00 opened this issue Feb 2, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@SirRender00
Copy link
Owner

Perhaps the TexasHoldEm class can have a method like game.view(i) that shows what player i knows.

@SirRender00 SirRender00 added the enhancement New feature or request label Feb 2, 2022
@SirRender00 SirRender00 modified the milestones: v1.0.0, v2.0.0 Feb 2, 2022
@SirRender00
Copy link
Owner Author

Relevant WSOP Rules when this is implemented:

  1. Face up for All-Ins: All cards will be turned face up once a Participant is all in and all betting action for the hand is complete. If a Participant accidentally folds/mucks their hand before cards are turned up, the Tournament Staff reserves the right to retrieve the folded/mucked cards if the cards are clearly identifiable.
  1. Showdown: During a showdown where no Participants are all-in and if cards are not spontaneously tabled, the Floor People may enforce an order of show. The last aggressive Participant on the final betting round (final street where betting is possible) must table first. If there was no bet on the final betting round, then the Participant who would be first to act in a betting round must table first (i.e. first seat left of the button in flop games, high hand showing in stud, low hand showing in razz, etc.) Participants not still in possession of their cards at showdown, or who have mucked face down without tabling their cards; lose any rights or privileges they may have to ask to see any hand. The winning hand must be shown to claim the pot unless there are no other live hands at which point the pot can be awarded to the only live hand remaining. If a Participant refuses to show their hand and intentionally mucks his or her hand, the Participant in violation will receive a penalty, in accordance with Rules 40, 113, and 114.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant