index.html 515 B

123456789101112131415
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  5. <script src="js/gameScript.js"></script>
  6. <link rel="stylesheet" type="text/css" href="css/gameStyle.css">
  7. </head>
  8. <body onload="startGame()">
  9. <br>
  10. <button onmousedown="accelerate(-0.2)" onmouseup="accelerate(0.05)">ACCELERATE</button>
  11. <p>Use the ACCELERATE button to stay in the air</p>
  12. <p>How long can you stay alive?</p>
  13. </body>
  14. </html>