-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
56 lines (54 loc) · 1.42 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head lang = 'en'>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 user-scalable=no">
<link href="https://fonts.googleapis.com/css?family=Saira+Semi+Condensed" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=PT+Sans" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./main.css">
<title>
Dino Run
</title>
</head>
<body>
<div class = "topbar">
<div id = "logo">
DINO RUN
</div>
</div>
<div id = "game_view">
<div id = "start_screen">
<div id = "username">
</div>
<div id = "scores">
<div id = "present_score">
Score : 0
</div>
<!-- <div id = "high_score">
Highscore : 0
</div>
-->
</div>
<div id = "game_name">
Inspired from Google's Dino Game
</div>
<div id = "name_input">
<input autocomplete = "off" type = "text" id = "name" placeholder = "NAME">
</div>
<div id = "play_button">
<button id = "play">
Play
</button>
</div>
<div id = "alert">
</div>
<canvas id = "canvas" width = "1200" height = "500">
</canvas>
</div>
</div>
</body>
<script type = "text/javascript" src = "elements/hero.js"></script>
<script type = "text/javascript" src = "elements/line.js"></script>
<script type = "text/javascript" src = "elements/obstacles.js"></script>
<script type = "text/javascript" src = "elements/game.js"></script>
</html>