Summary
In this chapter you've learned a lot of specific APIs and techniques available only to the mobile device. Writing games for mobile devices using web technologies is often a challenge but will greatly increase the number of potential players for your game.
You can even distribute your game in the App Store by using PhoneGap (also known as Apache Cordova).
In the next chapter we will see how to add sound and music to your game. This is a tricky thing to do with web technologies, but it's well worth the trouble!