42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Snek</title>
|
|
<meta charset="UTF-8">
|
|
<link rel="favicon" href="favicon.ico">
|
|
<link rel="stylesheet" href="css/snek.css">
|
|
<script src="js/snek.js"></script>
|
|
<script>
|
|
window.addEventListener('load', () => require('main'));
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<a href="#"><img src="assets/icon256.png"></a>
|
|
<h1>Snek</h1>
|
|
<h2>A "simple" Snake</h2>
|
|
<ul>
|
|
<li><a href="#">Menu</a></li>
|
|
<li><a href="#settings">Config</a></li>
|
|
<li><a href="#help">Help</a></li>
|
|
</ul>
|
|
</header>
|
|
<main>
|
|
<nav></nav>
|
|
<canvas class="hidden"></canvas>
|
|
<div id="hud" class="hidden">
|
|
<div class="status">
|
|
<span class="speed"></span>
|
|
<span class="score"></span>
|
|
<span class="time"></span>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
<footer>
|
|
<img src="assets/icon32.png">
|
|
<p>Snek by <a href="https://codinget.me">Codinget</a> on <a href="https://gitdab.com/Codinget/Snek">GitDab</a></p>
|
|
<p>Original <a href="https://perso.liris.cnrs.fr/pierre-antoine.champin/enseignement/intro-js/s6.html">subject</a> by <a href="https://perso.liris.cnrs.fr/pierre-antoine.champin/">P.A. Champin</a></p>
|
|
</footer>
|
|
</body>
|
|
</html>
|