Web-based video games are nothing new, but from a web development perspective, there is something unique about BrowserQuest. Developed by Mozilla, BrowserQuest is not only a nostalgic throwback to the likes of The Legend of Zelda, it’s also a showcase for what you can do without Flash. WebMonkey gives a brief overview of the technology used to create the game:
BrowserQuest is responsive as well, using @media queries to adapt to the size of your screen.
WebSockets — which are back, after being rewritten to fix some early flaws — handle the chat feature, which allows players to communicate within BrowserQuest. The final element in BrowserQuest’s HTML5 puzzle is localStorage, which saves your progress as you move through the game.
Yet another example of why Flash is becoming increasingly irrelevant and unnecessary in today’s web environment.