The Essential Guide to HTML5: Using Games to Learn HTML5 and JavaScript - Paperback
The Essential Guide to HTML5: Using Games to Learn HTML5 and JavaScript - Paperback
$77.18
/
Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.
by Jeanine Meyer (Author)
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'
Back Jacket
Gain a deep, practical knowledge of the basic tools used for webpages: hypertext markup language (HTML5), cascading style sheets (CSS), and JavaScript. This updated version includes new and improved games and interactive applications, and will serve total beginners as well as people with some programming language experience, but who are not familiar with the combination of HTML, CSS, and JavaScript.
This book illustrates technical features and programming concepts in actual use. Examples include familiar games such as Rock-Paper-Scissors, Craps, Memory (aka Concentration), Blackjack, and constructing and playing with mazes. To show what we mean by "actual use", the chapter on mazes demonstrates try and catch, split and join, local storage and radio buttons to encode, save, access, and decode the information defining a maze. Other projects include a basic word guessing game, ballistic games (Cannonball and Slingshot), a quiz requiring users to put items in order, and demonstrations of animation by displaying a ball, photo, and video clip bouncing in a rectangle.
The Appendix contains examples of advanced techniques such as Scalar Vector Graphics programs displaying the HTML5 Logo and a cartoon figure, each of which can be changed dynamically, and mathematical techniques for calculating if a move crosses a line and re-adjusting an arrangement of circles and arrows. Each example in the chapters and the Appendix includes screenshots and tables revealing the structure of the program and-statement-by-statement explanations of code.
The book also contains suggestions for using the concepts and techniques to build your own programs. If you follow through with your own ideas, you will develop solid programming skills for building websites and for learning other programming languages, including the next version of HTML and current and future JavaScript frameworks, libraries, and tool.
Author Biography
Jeanine Meyer is Professor Emerita at Purchase College/SUNY and past Coordinator of the Mathematics/Computer Science Board of Study. Before Purchase, she taught at Pace University and before that worked as a Research Staff Member and Manager in robotics and manufacturing research at IBM Research and as a consultant for IBM's educational grant programs. She is the single author of 5 books and co-author of 5 more on topics ranging from educational uses of multimedia, programming (three published by Apress/Springer), databases, number theory and origami. She earned a PhD in computer science at the Courant Institute at New York University, an MA in mathematics at Columbia University, and a SB (the college used the Latin form) in mathematics from the University of Chicago. She is a member of Phi Beta Kappa, Sigma Xi, Association for Women in Science, Association for Computing Machinery, and was a featured reviewer for ACM Computing Reviews.
For Jeanine, programming is both a hobby and a vocation. Every day, she plays computer puzzles online (including Words with Friends, various solitaire card games, and Duolingo for Spanish, which she views as a game). She also participates in Daf Yomi, the seven-and-a-half-year study of Talmud, which certainly has puzzle-solving aspects. She tries The New York Times crossword puzzle many days, but does better at the mini-puzzle, ken ken, and Two Not Touch in which she sometimes competes with her children. She enjoys cooking, baking, eating, gardening, travel, and a moderate amount of walking. She misses her mother, who inspired many family members to take up piano, and her father, who gave Jeanine a love of puzzles. She is an active volunteer for progressive causes and candidates.