You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
421B

  1. <!DOCTYPE html>
  2. <html dir="ltr" lang="en-US">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>yolo</title>
  6. <style>
  7. canvas {
  8. border: 1px solid #d3d3d3;
  9. background-color: #f1f1f1;
  10. }
  11. </style>
  12. </head>
  13. <body>
  14. <canvas id="snake" width="480" height="480"></canvas>
  15. </body>
  16. <script type="text/javascript" src="prgm.js"></script>
  17. <script>
  18. window.onload = function() {
  19. Game.init();
  20. };
  21. </script>
  22. </html>