Summarize wins, draws, losses, table points, scoring difference, and ordered form from match rows.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Each W, D, or L row increments its result count and adds finite non-negative scores for and against. Points equal wins multiplied by the selected win value plus draws multiplied by the draw value; difference is total scored minus total conceded.
Results: W, 3, 1 D, 2, 2 L, 0, 1 Win points: 3 Draw points: 1
Played: 3 Wins: 1 Draws: 1 Losses: 1 Table points: 4 Scored: 5 Conceded: 4 Difference: 1 Form: WDL
Football recaps calculate points and goal difference, recreational leagues use custom values, and recent results become an ordered WDL form string.