Files
pokerfreak/src/preflop/short_deck_ranking.rs
T

20 lines
1.3 KiB
Rust

//! The 81 two-card starting-hand classes of the short deck (6+ hold'em), best first.
//!
//! Source: all-in equity of each class against one uniformly random hand of the 36-card deck
//! (five-card board run out; flush beats full house, ace plays low in A-6-7-8-9), measured by
//! seeded Monte Carlo with 10 000 000 deals per class (standard error about 0.0002): AA 73.1 %
//! down to 76o 35.3 %. Reproduce with
//! `cargo test --release --test short_deck_ranking_generate -- --ignored --nocapture`
//! (seed of class i = 1000 + i, see that test). Neighbours closer than the error may swap.
//! Notation as in `holdem_ranking`: `AKs` suited, `AKo` offsuit, `AA` pair, higher rank first.
pub const RANKING: [&str; 81] = [
"AA", "KK", "QQ", "JJ", "TT", "AKs", "AQs", "AKo", "AJs", "KQs", "AQo", "ATs", "KJs", "AJo",
"QJs", "KTs", "KQo", "JTs", "QTs", "99", "KJo", "ATo", "A9s", "QJo", "KTo", "JTo", "QTo",
"A8s", "A9o", "K9s", "T9s", "A8o", "Q9s", "J9s", "A7s", "K9o", "T9o", "Q9o", "J9o", "A7o",
"88", "A6s", "K8s", "98s", "T8s", "Q8s", "J8s", "K7s", "A6o", "K8o", "98o", "T8o", "Q8o",
"J8o", "K7o", "K6s", "97s", "T7s", "Q7s", "J7s", "77", "Q6s", "K6o", "97o", "87s", "T7o",
"Q7o", "J7o", "96s", "Q6o", "T6s", "J6s", "87o", "96o", "86s", "T6o", "J6o", "66", "76s",
"86o", "76o",
];