{"id":16793491,"url":"https://github.com/mdp/binions","last_synced_at":"2025-10-19T18:59:31.062Z","repository":{"id":4710479,"uuid":"5858295","full_name":"mdp/binions","owner":"mdp","description":"A javascript Texas Holdem tournament engine","archived":false,"fork":false,"pushed_at":"2013-06-21T05:31:13.000Z","size":262,"stargazers_count":17,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T20:42:58.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-18T15:18:17.000Z","updated_at":"2018-09-10T19:23:06.000Z","dependencies_parsed_at":"2022-09-16T03:40:47.362Z","dependency_job_id":null,"html_url":"https://github.com/mdp/binions","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fbinions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fbinions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fbinions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdp%2Fbinions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdp","download_url":"https://codeload.github.com/mdp/binions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248155000,"owners_count":21056542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T08:49:27.358Z","updated_at":"2025-10-19T18:59:30.748Z","avatar_url":"https://github.com/mdp.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build\nStatus](https://secure.travis-ci.org/mdp/binions.png)](http://travis-ci.org/mdp/binions)\n\n![Binions](http://s3.amazonaws.com/img.mdp.im/binions_cut-20120918-200256.jpg)\n\n# Binions\n## A javascript poker tournament/game engine for bots\n\n## Running a game\n\n    {Game} = require 'binions'\n    {Player} = require 'binions'\n    {NoLimit} = require 'binions'\n\n    describe \"Basic game\", -\u003e\n      beforeEach () -\u003e\n        @noLimit = new NoLimit(10,20)\n        @players = []\n        chips = 1000\n        misterCallsAll =\n          update: (game) -\u003e\n            game.betting.call\n        for n in [0..6]\n          @players.push new Player(misterCallsAll, chips, n)\n\n      it \"should play the game to completion with run()\", (done) -\u003e\n        game = new Game(@players, @noLimit)\n        game.run()\n        game.on 'complete', -\u003e\n          assert.ok game.winners.length \u003e 0\n          done()\n\n## Todo\n\n### Tests\n\n- More tests on bet handlers(NoLimit)\n\n### Build more example players\n\n- Players that only play certain pocket cards (eg, Kings or higer)\n- Tight players\n- Players that occasionally go all in\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fbinions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdp%2Fbinions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdp%2Fbinions/lists"}