-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmaths_quest.html
More file actions
100 lines (83 loc) · 4.09 KB
/
maths_quest.html
File metadata and controls
100 lines (83 loc) · 4.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>11+ Maths Quest</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="game-container">
<div id="start-screen">
<h1>11+ Maths Quest</h1>
<p>Ready to test your maths skills? Answer <strong>25 auto-generated questions</strong> to practice for the 11+ exam. Questions cover various topics and increase in difficulty. Good luck!</p>
<p><em>Note: Question generation focuses on core numerical topics.</em></p>
<!-- Option to select subject (Maths or English) -->
<p>
<label for="subject-select">Select Subject:</label>
<select id="subject-select">
<option value="maths">Maths</option>
<option value="english">English</option>
</select>
</p>
<!-- Option to select starting level -->
<p>
<label for="starting-level">Starting Level:</label>
<select id="starting-level">
<option value="1">Level 1</option>
<option value="2">Level 2</option>
<option value="3">Level 3</option>
<option value="4">Level 4</option>
<option value="5">Level 5</option>
</select>
</p>
<button class="start-btn" onclick="startGame()">Start Game</button>
<div id="robux-disclaimer" style="margin-top: 30px;">
<strong>Please Note:</strong> The 'Virtual Robux Goal' shown during the game is just for fun and motivation! It does <strong>NOT</strong> award real Robux or any other real currency or item.
</div>
</div>
<div id="game-area" class="hidden">
<div id="header-info">
<span id="level-info">Level: 1</span>
<span id="score-info">Score: 0</span>
<span id="lifeline-info">Lifelines: 💎 x 5</span>
<span id="robux-info">Virtual Robux Goal: 0 / 100</span>
</div>
<div id="progress-container">
<div id="progress-bar"></div>
<div id="progress-text">0 / 5</div>
</div>
<div id="question-area">
<div id="question-text">Generating question...</div>
<div id="answer-buttons"></div>
<!-- Display the current question topic/type -->
<div id="topic-info" class="topic-info"></div>
</div>
<div id="feedback-area"></div>
<button id="lifeline-button" class="btn" onclick="useLifeline()">Use Lifeline (Get a Clue)</button>
</div>
<div id="end-screen" class="hidden">
<h1>Session Complete!</h1>
<p>Here's how you did:</p>
<ul>
<li id="final-score"><strong>Final Score:</strong> <span></span></li>
<li id="final-robux"><strong>Virtual Robux Earned:</strong> <span></span></li>
<li id="final-level"><strong>Highest Level Reached:</strong> <span></span></li>
<li id="completion-time"><strong>Completed On:</strong> <span></span></li>
</ul>
<div id="performance-summary">
<h3>Areas to Practice:</h3>
<p id="performance-details">Keep practicing all areas!</p>
</div>
<div id="robux-disclaimer">
<strong>Reminder:</strong> The 'Virtual Robux Goal' is for fun and motivation! Talk to Laurence about getting Robux
</div>
<button class="restart-btn" onclick="restartGame()" style="margin-top: 20px;">Play Again?</button>
</div>
</div>
<div id="version-info">v1.1.0-AutoGen</div>
<!-- Confetti library for level-up celebrations -->
<script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.6.0/dist/confetti.browser.min.js"></script>
<script type="module" src="js/main.js"></script>
</body>
</html>