-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnake.html
48 lines (39 loc) · 1.61 KB
/
snake.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>SEQUENCE_SAFARI</title>
<link rel="stylesheet" href="snake.css">
</head>
<body>
<script src="snake.js" defer>
</script>
<div class="keys">
<button class="arr_button" onclick="button_changeDirection('RIGHT')"><i class="arrow right"></i></button>
<button class="arr_button" onclick="button_changeDirection('LEFT')"><i class="arrow left"></i></button>
<button class="arr_button" onclick="button_changeDirection('UP')"><i class="arrow up"></i></button>
<button class="arr_button" onclick="button_changeDirection('DOWN')"><i class="arrow down"></i></button>
</div>
<div class="wrapper" >
<div class="game-name">SEQUENCE--SAFARI</div>
<div class="game-details">
<span class="score"> </span>
<span class="timer"></span>
<span class="high-score"></span>
</div>
<div class="playground">
</div>
<div class="color_seq"></div>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
</div>
<dialog class="start_modal" id ="start_modal">
<div id = "game_name"> SEQUENCE__SAFARI <br></div>
<div id="start_text">Press any key</div>
</dialog>
<dialog class="game_over" id="game_over">
<span id="game_over_text"> GAME__OVER </span>
</dialog>
</body>
</html>