Poker-AI.org http://poker-ai.org/phpbb/ |
|
How it called in english http://poker-ai.org/phpbb/viewtopic.php?f=22&t=2642 |
Page 1 of 1 |
Author: | nefton [ Fri Nov 15, 2013 1:07 pm ] |
Post subject: | How it called in english |
I am writing many of poker programs. And I need good incapsulation and useability of my clases. One of the key classes is poker_machine. Mathematical image of the game. Imaginary table with the players, which changes its state from external orders (moves). While clearly following the rules of poker. (including incompleet rise, side pots, ets). Just one deal. I try to find something like this - but none. Just many programs with primitive incapsulation like (class player) and many many wrong code. (no incompleet rise, no side pots, even hand compare false). Usabiliti in future programs on poker theme = 0; May be "poker machine" "poker c++" is wrong questions to Google? I do not believe that such a desired class came to a head just me. |
Author: | spears [ Fri Nov 15, 2013 2:23 pm ] |
Post subject: | Re: How it called in english |
poker state machine poker finite state machine They are not C++ but take a look at existing solutions in other languages cubeia https://code.google.com/p/cspoker/ alberta game server |
Author: | spears [ Sat Nov 16, 2013 9:24 am ] |
Post subject: | Re: How it called in english |
.. or build your own poker fsms on top of a general fsm... with variants for different types of game |
Author: | nefton [ Sat Nov 16, 2013 9:52 am ] |
Post subject: | Re: How it called in english |
I have read a lot about programming techniques FSM. I'm trying to make a FSM for tournament poker (no rake) for 9 people. It was harder than I thought. Poker FSM in general - too difficult task for me yet. |
Author: | spears [ Sat Nov 16, 2013 11:16 am ] |
Post subject: | Re: How it called in english |
harel statechart http://www.boost.org/doc/libs/1_55_0/li ... index.html http://statecharts.org/documentation.html |
Author: | nefton [ Mon Nov 18, 2013 10:10 pm ] | ||
Post subject: | Re: How it called in english | ||
seems it done. Just FSM without Card Compare about 900 lines of code And that after 2nd hard refactoring; *.exe in attachment R/a = rise available example comands: save 1.txt save 2 call 500 fold ... ets
|
Author: | nefton [ Sun Dec 01, 2013 11:02 pm ] |
Post subject: | Re: How it called in english |
Poker FSM on C++ now available on https://github.com/neftons-poker-lab/Poker_FSM Decided to open the source code. I`m bad programmer. But logic like works. I will be glad the advice what to change, or found bugs. Now it is only for 3-9 seats poker table without rake. But it is not hard to upgrade it to universal. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |