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-25 08:26:53 +00:00

48 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>
<h1 class="linear-wipe">KyFlo Snake</h1>
<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">
<canvas id="canvas" class="invisible"></canvas>
</div>
<p id="score"></p>
<p id="lives"></p>
<div id="gameovermodal" class="modal">
<div class="modal-content">
<h1 class="linear-wipe">GAME OVER</h1>
<p>Your score : <span id="gameoverscore">4</span></p>
</div>
</div>
<div id="scoreboard" class="close">
<h1>Scoreboard</h1>
<div class="row-score">
<p class="player-score">12</p>
<p class="pseudo">Kybo_</p>
</div>
<div class="row-score">
<p class="player-score">12</p>
<p class="pseudo">Kybo_</p>
</div>
</div>
<script type="module" src="sources/js/index.js"></script>
</body>
</html>