- eBook:The Essential Guide to HTML5: Using Games to Learn HTML5 and jаvascript
- Author:Jeanine Meyer
- Edition:2 edition
- Data:November 6, 2018
- Pages:436 pages
- Format:PDF, ePUB
You'll begin at an introductory level, learning the essentials of HTML5 and jаvascript and programming techniques. Each chapter features either a familiar game such as Hangman, Rock-Paper-Scissors, Craps, Memory, and Blackjack, or a simple type of game, such as a quiz, a maze, or animated simulations. You’ll develop solid programming skills that will help when learning other programming languages. Each chapter contains tables revealing the structure of the program with comments for each line of code.
These examples demonstrate the features introduced with HTML5. You’ll see how to use canvas elements for line drawing. You can include your own audio and video clips, directly controlled by your jаvascript code. For example, the reward for correct completion of a quiz can be the playing of an audio clip and a video clip. You’ll also learn how to use localStorage to store high scores or game preferences on a user's computer for retrieval next time they play. The Essential Guide to HTML5 explores all of this and more.
What You'll Learn
- Understand HTML 5 concepts with the help of easy-to-grasp, appealing examples
- Use HTML5 to explore new avenues for application and game development on the web
- Review important new elements of HTML 5
- Build, test, and upload simple games to a web site.
Both absolute beginners and users with some knowledge of HTML who want to learn the new HTML5 features
Chapter 2: Dice Game
Chapter 3: Bouncing Ball
Chapter 4: Cannonball and Slingshot
Chapter 5: The Memory (aka Concentration) Game
Chapter 6: Quiz
Chapter 7: Mazes
Chapter 8: Rock, Paper, Scissors
Chapter 9: Hangman
Chapter 10: Blackjack