title: HTML5/Javascript: Reset Game Screen
body: <p>I'm working on an html5 game, which is basically complete. However, I have created a game over screen that says 'press space to restart', but don't know how to actually restart the game. <a href="http://www.pasteall.org/42571/javascript" rel="nofollow">Here is a link</a> to my code. </p>
  
  <p>In line 200 I wrote this:</p>
  
  <pre><code>if(keys[32]){
      //
  }
  </code></pre>
  
  <p>I have that statement, but I don't what to write to restart the game. I'd appreciate anyone's help with this. 
  Thanks</p>