Skip to content

fix: reduce repeated early busts - #109

Merged
JonasFocus merged 5 commits into
mainfrom
table/gentler-rounds
Nov 2, 2026
Merged

JonasFocus merged 5 commits into
mainfrom
table/gentler-rounds

Conversation

@JonasFocus

@JonasFocus JonasFocus commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Summary

Reduce repeated early busts in online Flip 7 while preserving the deployed family-game interface.

Changes

  • Keep draw assistance and private session history on the game server, with bounded relief for poor early rounds.
  • Use adjusted risk for bot decisions and target suggestions, preserve replay history, and show personal-best recaps.
  • Include the live Flip 7 navigation and background from style: refresh the game background #108 so merging preserves the deployed interface.

Why

Repeated early busts can make players reluctant to continue. Relief gives struggling players more chances to participate while preserving normal risk and the shared deck.

Testing

  • Tested locally, including a complete game, mobile recap, and replay
  • All 437 tests, lint, type checking, and production build pass
  • Added regression and network privacy checks; ran 6,000 seeded games with card-conservation checks
  • Scanned production browser JavaScript for private assistance logic and tracking fields
  • Independent review passed at 72e9d74, including 71 targeted tests and 250 additional fuzzed games

Notes

No assistance indicators or private tracking fields are sent to players. This PR reconciles the frontend changes previously deployed outside main. Server deployments restart in-memory rooms.

- Adjust eligible draws after sustained bad rounds
- Track session streaks and show positive recaps
- Add deterministic checks and a simulation
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
game-time Ready Ready Preview Nov 2, 2026 10:30pm UTC

- Replace the dotted pattern with layered color and texture
- Keep the background readable across screen sizes
- Keep the live online and scorekeeper navigation in source control
- Exclude local files from frontend uploads
- Limit relief to poor early rounds and preserve session history
- Align bot advice and personal highlights with server state
- Verify private draw data stays off player devices
- Deal a known shoe in the buy-in deadline test
- Prevent a random dealer blackjack from failing the CI assertion
@JonasFocus JonasFocus changed the title feat: reduce repeated busts fix: reduce repeated early busts Nov 2, 2026
@JonasFocus
JonasFocus marked this pull request as ready for review November 2, 2026 22:30
@JonasFocus
JonasFocus merged commit 07efe0c into main Nov 2, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 72e9d74e Deployed Nov 2, 2026 by vercel[bot]
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.

1 participant