Function onejoker::poker::games::deuce_to_seven::ojp_kc_full_text

source ยท
pub fn ojp_kc_full_text(d: &HandDescription) -> String
Expand description

wiki | Describe deuce-to-seven low hands

use onejoker::prelude::*;

let hand = Hand::new(DeckType::English).init(hand!("9s","As","7s","4s","5s"));
let v = Scale::DeuceToSeven.value(&hand);
let d = Scale::DeuceToSeven.description(&hand, v);
println!("{}", d.full_text());
// Output: "flush: ace, nine, seven, five, four"