Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  <h1>Space Invaders</h1>
  <p>
Move with the arrow keys. Shoot with the S key. Refresh to play again.
Demonstrates a game loop, collision detection, keyboard input, drawing to the canvas and playing sounds.
</p>
<canvas id="space-invaders" width="300" height="300"></canvas>
      <audio id="shoot-sound" src="http://annotated-code.maryrosecook.com/space-invaders/shoot.mp3"></audio>
  
  <p><a href="http://annotated-code.maryrosecook.com/space-invaders/index.html">More Info Here!</a></p>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
mattdsteelepro
0viewers