hpyhacking / openpoker Goto Github PK
View Code? Open in Web Editor NEWGenesis Texas hold'em Game Server
Genesis Texas hold'em Game Server
It said that this project has HTML5 texas client, but there is no way to found any of it, can you also share these to us?
Please refer the following scenario. After this scenario, we end up having a negative pot which we are unable to split between the players.
all_in_example14_test() ->
Pot = new(),
{ Pot1, 0 } = add_bet(Pot, 'A', 5),
{ Pot2, 0 } = add_bet(Pot1, 'B', 5),
{ Pot3, 0 } = add_bet(Pot2, 'C', 100),
{ Pot4, 0 } = add_bet(Pot3, 'A', 5, true),
{ Pot5, 0 } = add_bet(Pot4, 'B', 1, true),
Side1 = lists:nth(1, Pot5#pot.active),
Side2 = lists:nth(2, Pot5#pot.active),
Current = Pot5#pot.current,
io:format("Members: ~p all_in: ~p\n", [gb_trees:to_list(Side1#side_pot.members), Side1#side_pot.all_in]),
io:format("Members: ~p all_in: ~p\n", [gb_trees:to_list(Side2#side_pot.members), Side2#side_pot.all_in]),
io:format("Members: ~p all_in: ~p\n", [gb_trees:to_list(Current#side_pot.members), Current#side_pot.all_in]).
作者对openpoker项目了解比较透彻, 感谢这么深入的重构 是否能弄个QQ群之类的沟通渠道 我们好一起学习下
After I download the source code(include get-deps by rebar).The program has something wrong when run the testcase.
undefined
*** context setup failed ***
*_in function sim:'-setup/0-fun-0-'/0 (test/sim.erl, line 235)
in call from sim:setup/0 (test/sim.erl, line 235)
in call from mod_blinds_test:setup/1 (test/integration/mod_blinds_test.erl, line 60)
*_error:{assertMatch_failed,[{module,sim},
{line,235},
{expression,"application : start ( openpoker )"},
{pattern,"ok"},
{value,{error,{already_started,openpoker}}}]}
添加一个过滤接口,使其对skip检测是否pass掉当前的请求。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.