Chrome battles IE in Space Invaders for geeks

The iconic Space Invaders game has been recreated using browser icons in this cool little JavaScript demo. What will your time be?

brower invaders

Warning! Browser Invaders is extremely addictive

Browser Invaders is a fun little experiment built by Seb Lee-Delisle for this year’s State of the Browser conference for web standards enthusiasts. After live coding most of the game, Lee-Delisle pitted browser evangelists against each other.

The game is built using Canvas and you can change which browser you’re playing as by hitting one to five on the opening screen. Having moved away from developing in Flash several years ago Lee-Delisle used “pretty much just raw JavaScript” mixed with a little existing code to handle requestAnimationFrame and the keyboard input" to build Browser Invaders.

Lee-Delisle explains that the JavaScript uses "very simple physics – I’m just oscillating the x position of the invaders on a sine wave. They speed up as the game progresses".

Like this? Read these!

Have you seen a classic game reinvented in with a modern twist? Let us know in the comments box below!