HTML and CSS Reference
Let's create the last file, game.js, which will have several generic methods to speed up pro-
gramming. These methods will slim down your run.js file and make it easier to maintain.
Populate the game.js file in the engine directory with the following listing.