index.html 1023 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!--Part of Snek vs Snacc webapp.
  2. Released under AGPLv3. Copyright (C) NetherEran 2020-->
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset = "utf-8">
  7. <title>sn(ek + acc)</title>
  8. <style>
  9. body {
  10. text-align: center;
  11. color: yellowgreen;
  12. background-color: black;
  13. }
  14. button {
  15. border-color: lightgrey;
  16. background-color: black;
  17. color: yellowgreen;
  18. height: 50pt;
  19. width: 150pt;
  20. font-size: 30pt;
  21. }
  22. a {
  23. color: lightblue;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <h1>SNEK VS SNACC</h1>
  29. <canvas width = "760" height = "360" style = "border: 20px solid lightgrey" id = "game_field">Your browser does not appear to support canvases.</canvas>
  30. <script src = "./game.js"></script>
  31. </br>
  32. </br>
  33. <noscript>This button does nothing unless you enable javascript.</noscript>
  34. <button id = "start_button" onclick = "start()">START</button>
  35. <footer>Released under <a href = "./license.html">AGPLv3</a> by NetherEran. <a href = "https://notabug.org/NetherEran/snek_vs_snacc_web">Source</a></footer>
  36. </body>
  37. </html>