Repository navigation
fix(holdem): cut the dead time between hands from about 10s to about 6s - #71
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
JonasFocus
force-pushed
the
onyx/quicker-turnaround
branch
from
October 20, 2026 18:52
590e32c to
fce3b3b
Compare
- Shorten the showdown beat from 7s to 5s and the all-in runout street gap from 2.2s to 1.5s - Add a 1.2s after-hand lobby beat (AFTER_HAND_MS) instead of the 3s join beat once a hand settles - Keep the 3s beat for a fresh table and for rebuys that leave fewer than two funded players - Cover the settle-to-deal gap, the late joiner case, rebuy timing and the runout/animation bound in tests Claude-Session: https://claude.ai/code/session_01SiinSXHP71xKCXmAjpTHaM
- Drop the 1.2s after-hand lobby beat so rebuy, sit out and stand up keep the 3s window - Take the turnaround savings from SHOWDOWN_MS and RUNOUT_MS only - Cover a busted player rebuying in a three-handed game before the next deal Claude-Session: https://claude.ai/code/session_01SiinSXHP71xKCXmAjpTHaM
JonasFocus
force-pushed
the
onyx/quicker-turnaround
branch
from
October 20, 2026 19:44
fce3b3b to
49ee259
Compare
…sses on main Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1mCwe46FiQjtWLVY588e5
- Add AFTER_HAND_MS and use it for the post-showdown start clock when nobody seated is broke - Keep the full START_MS beat when a seated player has no chips so they can rebuy before the deal
# Conflicts: # lib/texasholdem/index.ts # tests/texasholdem.test.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Shortens the idle time between Hold'em hands from about 10s to about 6s.
Changes
Why
Players waited about 10s between the last action and the next deal, which made the table feel slow. A table that is already seated and funded does not need the full join beat after a hand ends.
Testing
Notes
The next-deal timing itself is covered by the unit tests only. The page was not driven in a browser.