Skip to content

feat(holdem): show rail watchers beyond the 8 seats - #84

Merged
JonasFocus merged 5 commits into
mainfrom
onyx/rail-watchers
Oct 20, 2026
Merged

JonasFocus merged 5 commits into
mainfrom
onyx/rail-watchers

Conversation

@JonasFocus

@JonasFocus JonasFocus commented Oct 20, 2026 •

Copy link
Copy Markdown
Owner

Summary

Connected players who have not taken a seat are now shown on the table, so a full table no longer hides everyone on the rail.

Changes

  • Add railWatchers to lib/texasholdem/rules.ts, exported from the module index.
  • Add a "+N watching" chip next to the blinds pill in components/texasholdem/TexasHoldem.tsx that lists unseated players with avatars on tap.
  • Add a test covering connected, unseated players only.

Why

With 8 seats taken, additional people in the room were invisible to everyone. Closes #47.

Testing

  • pnpm test: 331 pass, 0 fail after rebasing onto main.
  • pnpm typecheck reports one error in tests/texasholdem.test.ts (the payee fixture is missing droppedAt), which comes from main and not from this change.

Notes

The rail list carries only names and ids already present in public state; no hole cards or deck data are involved.

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
game-time Error Error Oct 20, 2026 7:56pm UTC

Add a +N watching chip next to the blinds pill that lists unseated
players with their avatars on tap.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1mCwe46FiQjtWLVY588e5
@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

Deployment failed for project game-time with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/cloverings1s-projects?upgradeToPro=build-rate-limit

@JonasFocus JonasFocus added the ready Green and self-reviewed; waiting for merge label Oct 20, 2026
# Conflicts:
#	components/texasholdem/TexasHoldem.tsx
#	tests/texasholdem.test.ts
@JonasFocus
JonasFocus merged commit c18085f into main Oct 20, 2026
3 of 4 checks passed
@JonasFocus
JonasFocus deleted the onyx/rail-watchers branch October 20, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready Green and self-reviewed; waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show rail watchers beyond the 8 seats

1 participant