The score will count one point for each frame you manage to "stay alive". Have a try.
Course: Computer Science - Game Design with Javascript
By the end of this course, participants should be able to:
Please find the learning module, presentation slides and design files via the following links:
Start Here - Canvas , Controllers, Components, Obstacles, Hit Obstacle, Scores.