Member-only story
All you need to
Make HTML 5 Games — Tile Game Tutorial
In this tutorial and matching video tutorial, we will go through the steps to code a tile game using the HTML 5 Canvas and JavaScript.

Tile games are basically games arranged in a grid or with tiles that you drag around. In this case, we have a grid-based game to spot which objects are not changing as the rest of the objects change. This game could also be called a pattern game.
At the bottom of the screen is the number of “eternal” objects to find and the time it has taken. There are five levels, each time there are more objects and more objects to find. A Leader board is used to keep track of the lowest times.

We have two examples, a Simple Tile Game and a Complete Tile Game. You are welcome to look over the simple one first but the tutorial will show the steps to make the complete game.
Preparation
Anyone should be able to follow the steps and make the game, however there are many skills and techniques used to make this type of game on your own. Here is ◎ Your Guide To Coding Creativity on the Canvas which introduces this magical world.