HTML and CSS Reference
You now have the building blocks to create a reusable HTML5 game engine. You created the initial game con-
tainer object, the game loop, and some base classes for working with events and components. Having a solid
base on which to build the rest of the engine in a modular way is going to help a lot down the line. The next
chapter covers loading some game elements onto the page and building a reusable user input handling system.