diff --git a/src/classifier.rs b/src/classifier.rs index 32584b0..8b7b984 100644 --- a/src/classifier.rs +++ b/src/classifier.rs @@ -173,6 +173,8 @@ fn match_suit(cards: &[Card]) -> bool { } fn consecutive_ranks(num_jokers: i32, cards: &[Card]) -> bool { + // TODO: allow straights where Ace or 2 are the first members (loop-around + // straights). let mut num_jokers = num_jokers; for i in 0..(cards.len() - 1) { let r1 = cards[i].rank().unwrap() as i32;