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 showdown #22

Closed
wants to merge 1 commit into from
Closed

Add showdown #22

wants to merge 1 commit into from

Conversation

todorm85
Copy link
Contributor

Add showdown functionality to TwoPlayersHandLogic. The list of player`s showdown cards is passed as property ShowdownCards of the EndHandContext object to IPlayer.EndHand() method.

Add showdown functionality to TwoPlayersHandLogic. The list of player`s showdown cards is passed as property ShowdownCards of the EndHandContext object to IPlayer.EndHand() method.
@todorm85
Copy link
Contributor Author

This can be useful if bots are looking for bluffs.

@NikolayIT
Copy link
Owner

Does this logic always show cards or does it show cards only when both players are in game (i.e. not folded already)?

@todorm85
Copy link
Contributor Author

It shows all cards of only the players that have not folded (InternalPlayer.InternalPlayerMoney.InHand == true) after all betting after the river is finished. I suppose that`s what this property is for, based on the other code?

@todorm85
Copy link
Contributor Author

Must not show players cards if hes only one left in hand.

@todorm85 todorm85 closed this Nov 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants