Introduction

Games are everywhere, and they’re increasingly played on connected web devices and within desktop and mobile browser environments. As browser-based games become more popular, players are turning to sites like Facebook to discover simple, casual games that don’t require a disc or much up-front setup to play. A game is just another link to click through.

During the past decade, improvements to Adobe’s Flash plug-in contributed to the growth of the web browser as a gaming platform. Most browsers supported Flash, giving game developers access to a powerful platform that approached the dream of write once, run anywhere. HTML-based games have been around about as long, and you may even have played some (possibly without noticing). However, ...

Get Build an HTML5 Game 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.