-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
128 lines (117 loc) · 3.71 KB
/
index.html
File metadata and controls
128 lines (117 loc) · 3.71 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />
<title></title>
</head>
<body>
<div class="timer"></div>
<div class="menu">
<div class="button">
Play
</div>
<div class="button">
How To Play
</div>
<div class="button">
Settings
</div>
<div class="button">
Credits
</div>
<h4 class="highScore">High Score: <span class="high"></span></h4>
</div>
<div class="score">
<div class="count"></div>
<div class="time"></div>
</div>
<div class="game">
<div class="col"></div>
<div class="col"></div>
<div class="col"></div>
</div>
<div class="modal fade howToPlayModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span>
</button>
<h4 class="modal-title">How to play</h4>
</div>
<div class="modal-body">
<p>
When you play a game part of the screen will highlight you then have to quickly press the correct arrow key for that section.
</p>
<p>
For example if the left hand side of the screen highlights press the left arrow key. <br />If the center of the screen highlights press Up or Down. <br />If the right section of the screen highlights press the right arrow key.
</p>
<p>
A game lasts for 5 seconds, but this can be changed in the settings page. (When you change the game time the high score will reset.)
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade credits">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span>
</button>
<h4 class="modal-title">Credits</h4>
</div>
<div class="modal-body">
<p>
Made by Christopher Day @ <a href="http://cdcoding.com">CDCoding.</a>
</p>
<p>
Version: <em>1.0.0</em>
</p>
<p>
© CDCoding 2014
</p>
<p>
Libarys used:<br />
JQuery V1.11.1<br />
Bootstrap V3.2
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade settings">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span>
</button>
<h4 class="modal-title">Game Settings</h4>
</div>
<div class="modal-body">
<div class="input-group">
<input class="form-control new-game-time" type="text" placeholder="New game time in seconds" />
<div class="btn input-group-addon btn-update-game-time">Update</div>
</div>
<br />
<button class="btn btn-danger reset-high">Reset High Score (this can not be undone)</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="js/jquery-1.11.1.min.js" type="application/javascript"></script>
<script src="js/bootstrap.min.js" type="application/javascript"></script>
<script src="js/game.js" type="application/javascript"></script>
</body>
</html>