How to build an HTML game in 5 lines. Ninjas learn to build their first text-based adventure game using HTML. The game consists of a series of web pages where each page is one step/room in the story. 1hr 15mins.