Git Product home page Git Product logo

openpoker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openpoker's Issues

Where is the client

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?

Negative pot issue

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群之类的沟通渠道 我们好一起学习下

some exception happen when I input "make test"

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}}}]}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.