game.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html>
  2. <!--
  3. - Copyright (C) 2012 David Geary.
  4. -
  5. - License:
  6. -
  7. - Permission is hereby granted, free of charge, to any person
  8. - obtaining a copy of this software and associated documentation files
  9. - (the "Software"), to deal in the Software without restriction,
  10. - including without limitation the rights to use, copy, modify, merge,
  11. - publish, distribute, sublicense, and/or sell copies of the Software,
  12. - and to permit persons to whom the Software is furnished to do so,
  13. - subject to the following conditions:
  14. -
  15. - The above copyright notice and this permission notice shall be
  16. - included in all copies or substantial portions of the Software.
  17. -
  18. - The Software may not be used to create training material of any sort,
  19. - including courses, books, instructional videos, presentations, etc.
  20. - without the express written consent of David Geary.
  21. -
  22. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  23. - EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
  24. - OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  25. - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
  26. - HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  27. - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  28. - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  29. - OTHER DEALINGS IN THE SOFTWARE.
  30. -->
  31. <html>
  32. <!-- Head........................................................-->
  33. <head>
  34. <title>Snail Bait</title>
  35. <link rel='stylesheet' href='game.css'/>
  36. </head>
  37. <!-- Body........................................................-->
  38. <body>
  39. <!-- Wrapper..................................................-->
  40. <div id='wrapper'>
  41. <!-- Header..................................................-->
  42. <div id='header'>
  43. <div id='score'>0</div>
  44. </div>
  45. <!-- Arena..................................................-->
  46. <div id='arena'>
  47. <!-- The game canvas.....................................-->
  48. <canvas id='game-canvas' width='800' height='400'>
  49. Your browser does not support HTML5 Canvas.
  50. </canvas>
  51. </div>
  52. </div>
  53. <!-- JavaScript................................................-->
  54. <script src='game.js'></script>
  55. </body>
  56. </html>