Skip to content

Score duplicate ranks in Four Fingers straights - #107

Open
oiahoon wants to merge 1 commit into
EFHIII:mainfrom
oiahoon:fix/four-fingers-duplicate-ranks
Open

Score duplicate ranks in Four Fingers straights#107
oiahoon wants to merge 1 commit into
EFHIII:mainfrom
oiahoon:fix/four-fingers-duplicate-ranks

Conversation

@oiahoon

@oiahoon oiahoon commented Jul 16, 2026

Copy link
Copy Markdown

Fixes #106

Summary

  • include every card whose rank participates in a recognized straight
  • keep simulator and breakdown scoring implementations synchronized
  • add dependency-free regression coverage for both source copies

Verification

  • node --test tests/four-fingers.test.js
  • node --check for every JavaScript file
  • 49,504 old/new hand-classification comparisons across all five-card rank multisets, Four Fingers/Shortcut states, and both implementations
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only one card of each rank scores with four fingers

1 participant