We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Each player has a bank prop that is the amount of money they have left to play with.
bank
_bet()
pot
_ante()
roundCount
_resetGame()
The text was updated successfully, but these errors were encountered:
this doesn't seem right somehow _ante() { const players = this.state.players; players.forEach(player, index => { this._bet(null, null, index, this.state.minimumBet); }); }
_ante() { const players = this.state.players; players.forEach(player, index => { this._bet(null, null, index, this.state.minimumBet); }); }
Sorry, something went wrong.
Implement Betting mechanism per player #8
1e78fe7
codegard1
No branches or pull requests
Each player has a
bank
prop that is the amount of money they have left to play with._bet()
is called, subtract the bet amount from player'sbank
and add it to Table state'spot
_ante()
)_ante()
occursroundCount
to Table state_resetGame()
is calledThe text was updated successfully, but these errors were encountered: