The Essential Guide to HTML5: Using Games to Learn HTML5 and JavaScript

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

HTML5 opens up a plethora of new avenues for application and game development on the web. Games can now be created and interacted with directly within HTML, with no need for users to download extra plugins, or for developers to learn new languages. Important new features such as the Canvas tag enable drawing directly onto the web page. The Audio tag allows sounds to be triggered and played from within your HTML code, the WebSockets API facilitates real-time communication, and the local storage API enables data such as high scores or game preferences to be kept on a user's computer for retrieval next time they play. All of these features and many more are covered within The Essential Guide to HTML5.

The book begins at an introductory level, teaching the essentials of HTML5 and JavaScript through game development. Each chapter features a familiar game type as its core example, such as hangman, rock-paper-scissors, or dice games, and uses these simple constructs to build a solid skillset of the key HTML5 concepts and features. By working through these hands on examples, you will gain a deep, practical knowledge of HTML5 that will enable you to build your own, more advanced games and applications.

  • Concepts are introduced and motivated with easy-to-grasp, appealing examples
  • Code is explained in detail after general explanations
  • Reader is guided into how to make the examples 'their own'

Author(s): Jeannie Meyer (auth.)
Edition: 1
Publisher: Apress
Year: 2010

Language: English
Pages: 361
Tags: Computer Science, general

Front Matter....Pages i-xiv
The Basics....Pages 1-19
Dice Game....Pages 21-66
Bouncing Ball....Pages 67-96
Cannonball and Slingshot....Pages 97-140
The Memory (aka Concentration) Game....Pages 141-177
Quiz....Pages 179-211
Mazes....Pages 213-258
Rock, Paper, Scissors....Pages 259-285
Hangman....Pages 287-316
Blackjack....Pages 317-346
Back Matter....Pages 347-359