rundef / Node Poker Odds Calculator
Licence: mit
A pre-flop and post-flop odds calculator for Texas Holdem.
Stars: ✭ 48
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Node Poker Odds Calculator
easyPokerHUD
This is the official repository for easyPokerHUD.
Stars: ✭ 40 (-16.67%)
Mutual labels: poker
Cards.jl
A package for representing hands of cards (quite compactly)
Stars: ✭ 41 (-14.58%)
Mutual labels: poker
Casino Server
🔥 An online poker game server powered by Redis, node.js and socket.io
Stars: ✭ 721 (+1402.08%)
Mutual labels: poker
holdem
A texas holdem simulator build with WebAssembly and web workers
Stars: ✭ 42 (-12.5%)
Mutual labels: poker
Rlcard
Reinforcement Learning / AI Bots in Card (Poker) Games - Blackjack, Leduc, Texas, DouDizhu, Mahjong, UNO.
Stars: ✭ 980 (+1941.67%)
Mutual labels: poker
cypherpoker.js
An open source peer-to-peer poker platform with cryptocurrency integration written in JavaScript.
Stars: ✭ 72 (+50%)
Mutual labels: poker
Roomai
A toolkit for developing and comparing AI-bots of imperfect information and imcomplete information games.
Stars: ✭ 306 (+537.5%)
Mutual labels: poker
PokerTexter
SMS App for Poker Odds. Runs on Flask + Twilio + Heroku.
Stars: ✭ 17 (-64.58%)
Mutual labels: poker
pokerwars.io-starterbot-python
A starter bot written in python for the pokerwars.io platform. To play: pull this code, register on pokerwars.io, get your API token and play!
Stars: ✭ 37 (-22.92%)
Mutual labels: poker
Casino Holdem
PHP 7+ Texas Holdem extension to Cysha/Casino
Stars: ✭ 17 (-64.58%)
Mutual labels: poker
bet
This repository holds the implementation code of Pangea Poker white paper: https://bit.ly/3bdCz0Z
Stars: ✭ 15 (-68.75%)
Mutual labels: poker
Pokr
Make agile estimating and planning easy with our online planning or scrum poker tool
Stars: ✭ 44 (-8.33%)
Mutual labels: poker
Poker
Fully functional Pokerbot that works on PartyPoker and PokerStars, scraping tables with Open-CV (adaptable via gui) and making decisions based on a genetic algorithm and montecarlo simulation for poker equity calculation. Binaries can be downloaded with this link:
Stars: ✭ 873 (+1718.75%)
Mutual labels: poker
Neuron poker
Texas holdem OpenAi gym poker environment with reinforcement learning based on keras-rl. Includes virtual rendering and montecarlo for equity calculation.
Stars: ✭ 299 (+522.92%)
Mutual labels: poker
Poker Odds Calculator
A pre-flop and post-flop odds calculator for Texas Holdem.
For a live demonstration of this library in action, check out shortdeck.gg!
Installation
npm install poker-odds-calculator
Console Usage
Pre-flop odds
Let's say that we want to know the odds of 3 pre-flop all-in players holding the following hands: J♥J♤ vs T♢T♤ vs A♧K♧ :
node_modules/.bin/poker-odds-calculator JhJs TdTs AcKc
Post-flop odds
Let's say that we want to know the odds of a player holding the J♢ and the Q♢ against a player with the J♥ and the J♤ on a 7♢9♢T♤ board, with 2 cards to come :
node_modules/.bin/poker-odds-calculator -b 7d9dTs JhJs JdQd
node_modules/.bin/poker-odds-calculator --board 7d9dTs7s JhJs JdQd
-b denotes the board
Short deck
To calculate odds for short deck, override the game variant with -g
node_modules/.bin/poker-odds-calculator -g short -b 7d9dTs JhJs JdQd
node_modules/.bin/poker-odds-calculator --game short --board 7d9dTs7s JhJs JdQd
API Usage
Let's take the previous example, but use the API instead:
import {CardGroup, OddsCalculator} from 'poker-odds-calculator';
const player1Cards = CardGroup.fromString('JhJs');
const player2Cards = CardGroup.fromString('JdQd');
const board = CardGroup.fromString('7d9dTs');
const result = OddsCalculator.calculate([player1Cards, player2Cards], board);
console.log(`Player #1 - ${player1Cards} - ${result.equities[0].getEquity()}%`);
console.log(`Player #2 - ${player2Cards} - ${result.equities[1].getEquity()}%`);
To use Short Deck:
const result = OddsCalculator.calculate([player1Cards, player2Cards], board, 'short');
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].