-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·31 lines (31 loc) · 1.22 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<title>CanvaSnake</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
<script type="text/javascript" src="js/script.js"></script>
</head>
<body id="background" onload="canvaSnake();">
<h1>Corabi the Snake</h1>
<p id="divscore">
Score: <span id="score">0</span>
Level: <span id="level">1</span>
Timer: <span id="timer">00:00</span>
</p>
<canvas id="GameCanvas">Votre navigateur ne supporte pas HTML5, veuillez le mettre à jour pour jouer.</canvas>
<p id="message"> Press <em>Space</em> to start Corabi the Snake</p>
<div id="blocA">
<h3> Game Item's </h3>
Snake = <i class="fa fa-square"></i><br>
Eats = <i class="fa fa-circle"></i><br>
</div>
<div id="blocB">
<h3> Game Move's </h3>
Up = <i class="fa fa-arrow-up"></i><br>
Left = <i class="fa fa-arrow-left"></i><br>
Right = <i class="fa fa-arrow-right"></i><br>
Down = <i class="fa fa-arrow-down"></i><br>
</div>
</body>
</html>