Skip to content

Fixed pairs UI — new game page #4

@javaisbetterthanpython

Description

@javaisbetterthanpython

Summary

On /new, let users link two players as a fixed pair before starting a game.

Acceptance criteria

  • UI to select two players and mark them as a pair (toggle/link control)
  • Visual indicator showing who is paired with whom
  • A player can only be in one fixed pair
  • Pairs passed to newGame() on "Let's play!"
  • Pairs can be removed before game starts

Files likely touched

  • pages/new.tsx
  • src/PlayerBadge.tsx (optional link icon)

Test plan

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

Dependencies

#2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions