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
2021-03-27 11:08:55 +01:00

49 lines
No EOL
1.4 KiB
HTML

<!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">
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<link rel="stylesheet" type="text/css" href="sources/css/style.css">
</head>
<body>
<div class="row">
<div class="col s2">
<p class="stats" id="score">Score: </p>
<p class="stats" id="lives">Lives: </p>
<p class="stats" id="speed">Speed: </p>
</div>
<div class="col s8">
<h1 class="linear-wipe">KyFlo Snake</h1>
</div>
<div class="col s2">
</div>
</div>
<div class="row" id="menu">
<div class="col s6 offset-s3">
<div class="col s10 offset-s1" style="padding: 0">
<input type="text" id="nickname" placeholder="Choose a nickname :">
</div>
<div class="menu-level col s12 row">
</div>
</div>
</div>
<div id="game" class="invisible">
<canvas id="canvas"></canvas>
</div>
<div id="gameovermodal" class="modal">
<div class="modal-content">
<h1 class="linear-wipe">GAME OVER</h1>
<p>Your score : <span id="gameoverscore"></span></p>
</div>
</div>
<div id="scoreboard" class="close">
<h1>Scoreboard</h1>
</div>
<script type="module" src="sources/js/index.js"></script>
</body>
</html>