forked from axsaucedo/Last-Letter-Game
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.html
65 lines (57 loc) · 1.84 KB
/
test.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
<!DOCTYPE HTML>
<head>
<meta charset="UTF-8" />
<title>Eureka Test Suite</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="game.css" />
<link rel="home" href="./" />
<script src="highcharts/standalone-framework.js"></script>
<script src="highcharts/highcharts.js"></script>
<!--[if lte IE 8]>
<link rel="stylesheet" href="ie6.css" />
<script src="http://api.html5media.info/1.1.6/html5media.min.js"></script>
<![endif]-->
<script>
var ga = function(s, e, cat, what, label, value) {
console.log(e + ': (' + cat + ') ' + what + ' ' + label + ' ' + value + 'pt');
}
</script>
</head>
<body>
<div id="gameboard" class="game">
<div class="scoreboard">
<span>Score: </span>
<span id="score">0</span>
<span class="spacer"> </span>
<span> Qn </span>
<span id="question">1/20</span>
</div>
<p id="pressplay">Press ▶ to start:</p>
<div>
<audio id="player" src="null.m4a" type="audio/mp4"
onplay="game.speechReady(this);" autoplay controls></audio>
</div>
<div class="midpanel" align="right">
<span id="error"></span>
<span id="timer">10</span>
</div>
<form action="#" id="multiplechoice" onsubmit="return false;">
<button onclick="game.checkAnswer(this);"></button>
<button onclick="game.checkAnswer(this);"></button>
<button onclick="game.checkAnswer(this);"></button>
<button onclick="game.checkAnswer(this);"></button>
</form>
<hr />
<p>
<button class="green" onclick="game.nextQuestion();">▶ Start</button>
<button class="red" onclick="game.stop();">■ Stop</button>
</p>
<h3 id="results">Game over</h3>
</div>
<script src="questions.js"></script>
<script src="game.js"></script>
<script>
</script>
</body>
</html>