spook

A "game" for the 2023 Autumn Lisp Game Jam. Won first place! (from the bottom...)
git clone https://kaka.farm/~git/spook
Log | Files | Refs | LICENSE

index.html (862B)


      1 <!--
      2 SPDX-FileCopyrightText: 2023 Yuval Langer <yuvallangerontheroad@gmail.com>
      3 
      4 SPDX-License-Identifier: AGPL-3.0-or-later
      5 -->
      6 
      7 <!doctype html>
      8 <html>
      9   <head>
     10     <meta charset="utf-8">
     11     <style>
     12       /* https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Center_an_element
     13        * Huzzah!
     14        */
     15       body {
     16           background-color: #cff;
     17       }
     18       .container {
     19           display: flex;
     20           align-items: center;
     21           justify-content: center;
     22       }
     23 
     24       /* Thank you e-cat! */
     25       canvas {
     26           border: 3px solid orchid;
     27       }
     28     </style>
     29   </head>
     30   <body>
     31     <div class="container">
     32       <canvas id="canvas" width="600" height="450"></canvas>
     33     </div>
     34     <script type="text/javascript" src="spock-runtime-min.js"></script>
     35     <script type="text/javascript" src="main.js"></script>
     36   </body>
     37 </html>