GIVEN the game has entered a context of CTX_GAMEOVER
THEN gameover() should be called until ctx changes
AND display the words "GAME OVER"
AND "Continue #"
WHERE # is a countdown from 10 to 1
IF # reaches 0
THEN ctx changes to CTX_SCORECARD
ELSEIF player presses X
THEN play is reset and ctx changes to CTX_GAMEPLAY
GAME OVER should be drawn in SVG
Countdown should be centered and have a clean aesthetic
What it should do
GIVEN the game has entered a context of CTX_GAMEOVER THEN gameover() should be called until ctx changes AND display the words "GAME OVER" AND "Continue #" WHERE # is a countdown from 10 to 1 IF # reaches 0 THEN ctx changes to CTX_SCORECARD ELSEIF player presses X THEN play is reset and ctx changes to CTX_GAMEPLAY
GAME OVER should be drawn in SVG Countdown should be centered and have a clean aesthetic