lila/apps/web/src/components/game
lila bc7977463e feat(web): add game settings screen and submit confirmation
- Add GameSetup component with Duolingo-style button selectors for
  language pair, POS, difficulty, and rounds
- Language swap: selecting the same language for source and target
  automatically swaps them instead of allowing duplicates
- Add selection-before-submission flow: user clicks an option to
  highlight it, then confirms with a Submit button to prevent misclicks
- Add selected state to OptionButton (purple ring highlight)
- Play Again on score screen returns to settings instead of
  auto-restarting with the same configuration
- Remove hardcoded GAME_SETTINGS, game configuration is now user-driven
2026-04-11 21:18:35 +02:00
..
GameSetup.tsx feat(web): add game settings screen and submit confirmation 2026-04-11 21:18:35 +02:00
OptionButton.tsx feat(web): add game settings screen and submit confirmation 2026-04-11 21:18:35 +02:00
QuestionCard.tsx feat(web): add game settings screen and submit confirmation 2026-04-11 21:18:35 +02:00
ScoreScreen.tsx refactoring ui into separate components, updating ui, adding color scheme 2026-04-11 20:53:10 +02:00