Workshop › Tic-tac-toe › Step 33 of 33
Your game, your idea. Keep a running score across rounds: how many rounds X won, O won, and how many were draws, and show it on the end screen.
Add let tally = { X: 0, O: 0, draw: 0 }. When a round ends, add 1 to the matching count. reset must not clear
it. On the end screen, also write the three numbers.
Skills: Game states