© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
J. MeyerThe Essential Guide to HTML5https://doi.org/10.1007/978-1-4842-8722-4_7

7. Mazes

Jeanine Meyer1  
(1)
Purchase, NY, USA
 

Keywords

KeyDown; Lastdate; Mouse Events; Arrow Keys; keyCode

In this chapter, we cover the following:
  • Responding to mouse events

  • Calculating collisions between circles and lines

  • Responding to the arrow keys

  • Form input

  • Encoding, saving, decoding, and restoring information from local storage using try and catch to test whether coding is recognized

  • Using join and split to encode and decode information

  • Using javascript: in a button to invoke functions

  • Radio buttons

Introduction

In this chapter, we’ll continue our exploration of programming techniques ...

Get The Essential Guide to HTML5: Using Games to Learn HTML5 and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.