forked from osborn/jquerygame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
57 lines (54 loc) · 1.98 KB
/
game.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
<html>
<head>
<title>MEST DodgeBall</title>
<!--Linking my css and javascript to the html-->
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css">
<link href='http://fonts.googleapis.com/css?family=News+Cycle|Faster+One|Raleway' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="game.css">
</head>
<body>
<div class="container-fluid">
<div class="row-fluid game-wrapper">
<div class="game-header">
<div class="wrapper">
<div class="branding">
MEST Lumosity
</div>
<div class="game-stats">
<div class="score-holder stat">
<span id="current-score-label" class="stat-label">Your Score: </span><span id="current-score" class="value"> 0</span>
</div>
<div class="high-score-holder stat">
<span id="high-score-label" class="stat-label">High Score:</span><span id="high-score" class="value"> 0</span>
</div>
<div class="timer-holder stat">
<span id="timer-label" class="stat-label"></span><span id="timer" class="value"></span>
</div>
</div>
</div>
</div>
<div class="game-body">
<div class="wrapper">
<div class="controls">
<h1 class="greeting">Welcome.</h1>
<span class="how-to">You play the game by clicking the moving ball, as many times as you can before the timer runs out. This game improves your ability to focus.</span>
<div class="buttons">
<button class="btn btn-primary play button">Start Playing</button>
<button class="btn btn-warning pause button" disabled="disabled">Pause Game</button>
</div>
</div>
<div class="game-area">
<div class="a" id="dodgeball"></div>
<div class="summary">Game Over<br />Your scored <span class="score"></span> points.</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="jquery-1.9.0.min.js"></script>
<script type="text/javascript" src="timer.js"></script>
<script type="text/javascript" src="game.js"></script>
<script src="bootstrap/js/bootstrap.js"></script>
</body>
</html>