Comments (5)
Player who raises or bets with all his money is now automatically all-in. There
was a
problem when a player tried to raise with a value higher than his stack but
that's
solved now. There also was a double all-in message.
There is still a problem if a player wants to call a bet that's higher than his
stack. Then the pots must be split. I don't see anywhere where pots are split
actually...
Added the BettingRulesTest class for testing the different betting rules. Still
working on that.
Original comment by [email protected]
on 15 Jul 2007 at 2:19
from cspoker.
If a player calls a bet that is higher than his stack. He should invoke the
all-in
method. All all-in players in a round are remembered and the pot is split at
the end
of each round. It had to be implemented this way because several people can go
all-in
in one round with different number of chips.
Original comment by [email protected]
on 15 Jul 2007 at 4:03
from cspoker.
Maybe it is better if we do not allow call,raise and bet with someone's whole
stack
and throw an exception. A player should explicitly choose to go all-in. To
prevent
going all-in by making a mistake for example (It's just my opinion, but it is
discutable.)
Original comment by [email protected]
on 15 Jul 2007 at 4:53
from cspoker.
Hmm, that's another way to do it of course :) I think it's best to re-use the
IllegalActionException for those cases. I'll implement it right away.
Original comment by [email protected]
on 15 Jul 2007 at 6:15
from cspoker.
Original comment by [email protected]
on 21 Jul 2007 at 4:33
- Changed state: Fixed
from cspoker.
Related Issues (20)
- login errors (rev 1049) http://cspoker.pastebin.com/m6b75aae1 HOT 1
- Show Hand should be available as an action for the player HOT 3
- Show cards from players when no one can do an action
- DetailedHoldemTable snapshot information lacks community cards HOT 2
- login errors/no response to client HOT 1
- Hand Histories HOT 3
- callAmount is set as 0 after bigBlind posting HOT 2
- SitInState is initialized with null GameState
- Chip image not found HOT 1
- Same Player - logged in twice HOT 2
- disconnected after sending crossdomain xml file? (its also sending the open source license with the crossdomain text) HOT 5
- Raise failes when another playe ris allin HOT 2
- NullpointerException in timeout task.
- Allowed bet size bug after allin HOT 2
- Implementation of HandEval.decode
- Server logic bug: when big blind folds after calls only, the round doesn't end.
- Compile problem
- Compile problem on Windows 7 HOT 5
- Help me about compile source ! HOT 1
- Maven repository for CSPoker is offline HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cspoker.