-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·74 lines (66 loc) · 1.62 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
overflow: hidden;
}
#debug {
position: absolute;
right: 0;
top: 0;
width: 25%;
height: 100%;
background-color: #EEE;
padding: 10px;
overflow: hidden;
}
#maze {
position: relative;
display: block;
margin: 30px;
}
#winner {
padding: 50px;
position: absolute;
display: none;
height: 250px;
width: 300px;
top: 0;
text-align: center;
background-color: #EEE;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
}
#winner-color {
height: 100px;
width: 100px;
background-color: #009926;
border-radius: 3px;
margin: 30px auto;
}
</style>
</head>
<body>
<div id="maze-container">
<canvas oncontextmenu="return false;" id="maze" width="750" height="750"></canvas>
</div>
<div id="debug"></div>
<div id="winner">
Gratz!
<div id="winner-color"></div>
<br/>
You win!
<br/>
<br/>
New game in 10 seconds! :)
</div>
<!--TODO-->
<script type="text/javascript" src="//www.gstatic.com/cast/sdk/libs/receiver/2.0.0/cast_receiver.js"></script>
<script type="text/javascript" src="jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="game.js"></script>
<script type="text/javascript" src="cast.js"></script>
</body>
</html>