Function onejoker::poker::games::high_hand::ojp_hh_full_text

source ·
pub fn ojp_hh_full_text(d: &HandDescription) -> String
Expand description

Full english name of hand e.g. “king-high straight” wiki | Full english description of hand

use onejoker::prelude::*;
use onejoker::poker::games::high_hand::*;

let hand = Hand::new(DeckType::English).init(hand!("9s","As","9d","Ks","Ah"));
let v = ojp_hh_value(&hand);
let d = ojp_hh_description(&hand, v);
println!("{}", ojp_hh_full_text(&d));
// Output: "aces and nines with a king"