Feature/game score tracking (#48)

This commit is contained in:
Viktor Rådberg
2025-11-17 19:53:17 +01:00
committed by GitHub
parent c6039c2a53
commit ca4e3edb5f
13 changed files with 422 additions and 14 deletions

View File

@@ -242,6 +242,23 @@ export const SettingsDialog = ({
</ul>
</Description>
</SettingContainer>
<SettingContainer>
<ToggleContainer>
<label>Show Match Score</label>
<ToggleButton
checked={settings.showMatchScore}
onChange={() => {
setSettings({
...settings,
showMatchScore: !settings.showMatchScore,
});
}}
/>
</ToggleContainer>
<Description>
Shows a score badge on each player's card to track wins across multiple games.
</Description>
</SettingContainer>
<Separator height="1px" />
<div className="flex w-full justify-center">
<button