From e05492146260620bdd05f3a3ca47209090c5bfcb Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 4 Apr 2026 04:47:10 +0100 Subject: [PATCH] modes:single:footstool: allow half footstools to loop 3 of Diamonds can now half-footstool 2 of Spades. We need to fix ordering to allow 3 of Diamonds to beat 2 of Spades specifically. --- src/modes/single.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modes/single.rs b/src/modes/single.rs index 2e8603b..0bd55f8 100644 --- a/src/modes/single.rs +++ b/src/modes/single.rs @@ -30,7 +30,7 @@ impl Hand for Single { // Trivial implementation if self_abs == other_abs { Footstool::Full - } else if self_abs == other_abs + 1 { + } else if self_abs == (other_abs + 1) % 52 { Footstool::Half } else { Footstool::None