The Game PlayThe Structure of the GameUsing setInterval to Animate the GameCreating the Game ObjectsSetting Up Keyboard ControlGame SetupCreating the HTMLDefining the canvas, ctx, width, and height VariablesDividing the Canvas into BlocksDefining the score VariableDrawing the BorderDisplaying the ScoreSetting the Text BaselineSetting the Size and FontWriting the drawScore FunctionEnding the GameWhat You LearnedProgramming Challenges