-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
38 lines (23 loc) · 935 Bytes
/
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
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8"/>
<script type="text/javascript" src="js/game.js"></script>
</head>
<body onload="prepareGame();">
<div class="active">
<p>Click on lowest numbers as fast as you can</p>
</div>
<table id="data" class="active" style=border:solid>
<tr><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td></tr>
<tr><td></td><td></td><td></td><td></td></tr>
</table>
<div id="gameover" hidden="true">
<p>Congratulations!</p>
<p>Your time is: <span id="time"></span> seconds</p>
<button id="restart" onclick="prepareGame();">Restart</button>
</div>
</body>
</html>