Table Tennis Match Scoreboard
Read two point tallies and report the score, the game state and the points still needed.
A game is first to 11 with a two-point margin, so the page reports a winner at 11 with two clear points, deuce from 10–10, and otherwise the margin and the points each side still needs.
Both tallies must be whole numbers of 0 or more; a negative point count is refused with the side named. The page does not tick the score itself — it reads the tally you type, and that tally lives only in this tab.
Two fields and a handful of comparisons, so the same scoreline always prints the same state.
A table tennis game is first to 11 with a two-point margin, so 10–10 is deuce and the game continues until someone leads by two. The page reads the points you type and reports the state, the leader and what each side needs.
It is a scoreboard, not a scorer: it does not add a point when you press anything, and the two tallies live only in the fields of the open tab. Negative or fractional points are refused.
How to use it
Enter the points won by side A and side B, then press Run. Three lines come back: the score, the state of the game (first to 11, deuce, or the winner) and the points each side still needs.
The arithmetic
A side wins at 11 or more with a lead of at least two; at 10–10 or beyond, both sides need two more than their opponent. Because the needed count is floored at 2, deuce never shows a one-point game ball.
What to Expect
Best for
- Reading the exact state of a game from two point totals, including deuce.
What this tool keeps
- The score, the game state and the points each side needs.
Sample input
10–10.
Sample output
Score 10–10 Deuce at 10–10: the game needs a two-point margin Game point: side A needs 2 more, side B needs 2 more.
Frequently asked questions
Why does it say deuce at 10–10?
Because a game needs a two-point margin, so 11–10 is not a win. At 10–10 the page reports deuce and asks for two clear points.
Does it add points as I play?
No. It is a scoreboard that reads the two tallies you enter; it never increments a score itself, and the tallies live only in the open tab.
Can I score a game to 21 instead?
Not on this page: the target is fixed at 11 with a two-point margin. The badminton rally counter takes an arbitrary target.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.