1v1 Scoreboard Keeper
Professional-grade digital scoreboard for sports and games. Features voice control, match timers, set tracking, OBS streaming mode, and customizable logic for Table Tennis, Volleyball, and more.
About
The 1v1 Scoreboard Keeper is an advanced state-management utility designed for high-stakes competitive environments, ranging from professional Table Tennis matches to casual board games. Unlike static counters, this tool implements dynamic game theory logic, including Deuce handling, Service Rotation algorithms, and Wake Lock API integration to prevent device sleep during gameplay.
It features a strictly typed state engine that persists data to localStorage, ensuring match continuity even after browser crashes. The audio subsystem utilizes the Web Audio API for low-latency feedback, while the visual layer supports OBS Green Screen chroma keying for streamers. Input methods include touch gestures, keyboard bindings (accessible via HID), and experimental Voice Recognition.
Formulas
The scoreboard logic employs a conditional state machine to determine the winner of a set. The victory condition V is defined as:
Where Sp is the player's score, T is the Target Score (e.g., 11), and M is the Minimum Lead (e.g., 2). Service rotation in Deuce scenarios shifts from standard rotation Rstd to single-point rotation Rdeuce:
R = if(Sp ≥ T-1 ∧ Sopp ≥ T-1, 1, Rstd)
Reference Data
| Preset Name | Target Score | Win By | Service Change | Sets To Win |
|---|---|---|---|---|
| Table Tennis (ITTF) | 11 | 2 | Every 2 pts | 3, 5, or 7 |
| Volleyball (Indoor) | 25 | 2 | Sideout | 3 or 5 |
| Badminton (BWF) | 21 | 2 | Winner Serves | 2 |
| Pickleball | 11 | 2 | Sideout | 2 |
| Squash (PAR-11) | 11 | 2 | Winner Serves | 3 or 5 |
| Cornhole | 21 | 0 | Last Scorer | 1 |
| Tennis (Tiebreak) | 7 | 2 | Every 2 (ABBA) | 1 |