The Essential Guide to HTML5

(Greg DeLong) #1

CHAPTER 7


The use of local storage was fairly intricate for this application, requiring the encoding and decoding of the
maze information. A simpler use might be for storing the highest score or the current score on any game.
You can go back to previous chapters and see if you can incorporate this feature. Remember that
localStorage is tied to the browser. In the next chapter, you will learn how to implement the rock-paper-
scissors game, and how to incorporate audio in your application.

Free download pdf