Skip to content

[#5] Fixed pairs UI in-game#15

Merged
javaisbetterthanpython merged 1 commit into
mainfrom
issue-5-ingame-pairs-ui
Jun 7, 2026
Merged

[#5] Fixed pairs UI in-game#15
javaisbetterthanpython merged 1 commit into
mainfrom
issue-5-ingame-pairs-ui

Conversation

@javaisbetterthanpython

Copy link
Copy Markdown
Owner

Summary

  • Add fixed pair link controls to PlayersModal (partner dropdown per player, link indicator)
  • Extend editPlayers to accept and persist fixedPairs; pair changes force round regeneration
  • Add shared fixedPairs helpers and PlayerPairSelect component
  • Wire fixedPairs through state, localStorage, and worker message payload

Test plan

  • yarn test:ci passes
  • yarn build passes
  • Open Players modal during a game, link two players, submit — current round regenerates
  • Remove a paired player — pair association is cleared
  • Cannot select self as partner (excluded from dropdown)

Closes #5

Made with Cursor

Pair link controls let players be linked during an active game; editPlayers persists fixedPairs and regenerates the round when pairs change.

Co-authored-by: Cursor <cursoragent@cursor.com>
@javaisbetterthanpython javaisbetterthanpython merged commit 469c534 into main Jun 7, 2026
1 check failed
@javaisbetterthanpython javaisbetterthanpython deleted the issue-5-ingame-pairs-ui branch June 7, 2026 09:56
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 — in-game management

1 participant