1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
Snake/index.html

48 lines
1.4 KiB
HTML
Raw Normal View History

2021-03-11 09:39:52 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>KyFlo Snake</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
2021-03-23 09:23:37 +01:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
2021-03-11 09:39:52 +01:00
<link rel="stylesheet" type="text/css" href="sources/css/style.css">
</head>
<body>
2021-03-26 22:49:00 +01:00
<div class="row">
2021-03-30 10:55:33 +02:00
<div class="col s12">
2021-03-26 22:49:00 +01:00
<h1 class="linear-wipe">KyFlo Snake</h1>
</div>
</div>
2021-03-23 08:21:05 +01:00
<div class="row" id="menu">
2021-03-18 10:29:12 +01:00
<div class="col s6 offset-s3">
2021-03-23 08:21:05 +01:00
<div class="col s10 offset-s1" style="padding: 0">
<input type="text" id="nickname" placeholder="Choose a nickname :">
2021-03-18 10:29:12 +01:00
</div>
2021-03-23 09:23:37 +01:00
<div class="menu-level col s12 row">
</div>
2021-03-18 10:29:12 +01:00
</div>
</div>
2021-03-26 22:49:00 +01:00
<div id="game" class="invisible">
<canvas id="canvas"></canvas>
2021-03-30 10:55:33 +02:00
<div class="col s6 offset-s3 row statsgame">
<p class="stats col s4" id="score">Score: </p>
<p class="stats col s4" id="lives">Lives: </p>
<p class="stats col s4" id="speed">Speed: </p>
</div>
2021-03-23 09:23:37 +01:00
</div>
2021-03-25 08:53:40 +01:00
<div id="gameovermodal" class="modal">
<div class="modal-content">
<h1 class="linear-wipe">GAME OVER</h1>
2021-03-25 09:48:57 +01:00
<p>Your score : <span id="gameoverscore"></span></p>
2021-03-25 08:53:40 +01:00
</div>
2021-03-25 09:25:41 +01:00
</div>
<div id="scoreboard" class="close">
<h1>Scoreboard</h1>
</div>
2021-03-11 09:39:52 +01:00
<script type="module" src="sources/js/index.js"></script>
</body>
2021-03-23 08:21:05 +01:00
</html>