Endless Runner Style HTML5 Game

Endless Runner style game - Kandi Runner

In this series of tutorials, I will be covering how to write an HTML5 endless runner game similar to the popular Canabalt game from the ground up. There will be 3 installments in this series, each one will cover one part or aspect of the game. It will cover everything from setting up the game to organizing the code using modules. I’ll link each new tutorial as I finish them here so they can all be in one location.


  1. Part 1 – Structure and the module pattern
  2. Part 2 – Prototypal Inheritance and adding challenge
  3. Part 3 – Game menus and sound