From efde53288540ced63c81abe0a57b0f957733f55f Mon Sep 17 00:00:00 2001 From: Ross Andrews Date: Sun, 31 May 2026 20:05:18 -0500 Subject: [PATCH] 8 players possible --- CLAUDE.md | 4 ++-- src/pages/PlayerSetup.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 14a4ebe..5713c27 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -42,7 +42,7 @@ Navigation is a simple `useState` state machine in `App.tsx` — no router | Page | Key | Description | |------|-----|-------------| | Title screen | `'title'` | Shown on first load (no saved game). "New Game" button navigates to setup. | -| Player setup | `'setup'` | Enter 3–6 player names, then "Start" saves the game and goes to scoresheet. | +| Player setup | `'setup'` | Enter 3–8 player names, then "Start" saves the game and goes to scoresheet. | | Score sheet | `'scoresheet'` | Shows per-round scores and running totals. Small red "New Game" button (top-right) opens a confirmation dialog before clearing state and going to setup. "Score Round" (footer) → enter scores. | | Enter scores | `'enterscores'` | Form to enter each player's score for the round. "Submit" → back to scoresheet. | @@ -50,7 +50,7 @@ On mount, `App.tsx` checks `localStorage` for a saved game and jumps straight to ## Game rules -- Each round every player scores some points; all players' scores in a round must sum to **-110** +- Each round every player scores some points; scores must sum to **-95** (3 players), **-110** (4–6 players), or **-100** (7–8 players) - Each player starts at 0; the game ends when any player reaches **-200** ## Data model diff --git a/src/pages/PlayerSetup.tsx b/src/pages/PlayerSetup.tsx index d5f23f9..f0659bf 100644 --- a/src/pages/PlayerSetup.tsx +++ b/src/pages/PlayerSetup.tsx @@ -63,7 +63,7 @@ export default function PlayerSetup({ onStart, initialNames }: Props) { )} ))} - {names.length < 6 && ( + {names.length < 8 && (