This mini-game is designed for educational purposes as part of the interactive book "A JavaScript Odyssey" by PerkyCrow.
The source code for the book can be found on GitHub.
Just clone the repository and drop it into a web server.
I suggest using http-server for this purpose.
Click to jump over the obstacles. The longer you stay alive, the higher your score.