Skip to content

[#4] Fixed pairs UI new game#16

Merged
javaisbetterthanpython merged 8 commits into
mainfrom
issue-4-new-game-pairs-ui
Jun 7, 2026
Merged

[#4] Fixed pairs UI new game#16
javaisbetterthanpython merged 8 commits into
mainfrom
issue-4-new-game-pairs-ui

Conversation

@javaisbetterthanpython

Copy link
Copy Markdown
Owner

Summary

  • Add pair-linking controls on /new: tap link on one player, then another to form a fixed pair
  • Show visual indicators (highlight + partner name) and allow unlinking before game start
  • Pass fixedPairs to newGame() and persist in app state/localStorage via useShuffler

Test plan

  • yarn test:ci passes
  • yarn build passes
  • Manual: create game with 6 players and 1 fixed pair

Closes #4

Made with Cursor

javaisbetterthanpython and others added 8 commits June 7, 2026 05:55
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Let users link two players before starting a game and pass pairs through newGame into app state.

Co-authored-by: Cursor <cursoragent@cursor.com>
Show link icons for fixed-pair players and visually group fixed-pair teammates on the rounds page, gracefully no-op when fixedPairs is absent from state.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@javaisbetterthanpython javaisbetterthanpython force-pushed the issue-4-new-game-pairs-ui branch from 16b0ba4 to 6493c62 Compare June 7, 2026 09:55
@javaisbetterthanpython javaisbetterthanpython merged commit 0439888 into main Jun 7, 2026
1 check failed
@javaisbetterthanpython javaisbetterthanpython deleted the issue-4-new-game-pairs-ui branch June 7, 2026 09:55
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.

Fixed pairs UI — new game page

1 participant