RustPoker
Fast range vs. range equity calculation for poker written in rust
Hand Evaluator
- Evaluates hands with any number of cards from 0 to 7
- Higher score is better
Usage
use ;
// cards are indexed 0->51 where index is 4 * rank + suit
let hand = empty + CARDS + CARDS;
let score = evaluate;
Equity Calculator
- Runs a multithreaded monte-carlo simulation to calculate range vs range equities
- Supports up to 6 players
Usage
use ;
use calc_equity;
let ranges = from_str_arr;
let public_cards = get_card_mask;
let n_games = 10000;
let n_threads = 4;
let equities = calc_equity;
Credit
The hand evaluator and equity calculator library is a rust rewrite of zekyll's C++ equity calculator, OMPEval