-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
142 lines (133 loc) · 6.68 KB
/
index.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
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html>
<head>
<title>Math Flick</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:wght@800&family=Ubuntu:wght@700&display=swap" rel="stylesheet">
</head>
<body>
<h1>TOP - Jam 1 - Math Flick</h1>
<div id="logo-background"></div>
<div id="logo">
<img id="logoImage" src="./images/Logo.png">
</div>
<canvas id="canvas"></canvas>
<div id="gameboard">
<div id="title">
<img id="MFIMG" alt="MathFlick" src="./images/MathFlick.png">
</div>
<div id="score" class = "score">Score</div>
<div id="timer" class = "timer">Timer</div>
<div id="starblitz"></div>
<div id="score-summary" class="summary-hidden">
<h3 class="score-header">Game Over!</h3>
<table id="summary-table">
<tr>
<th colspan="2">Your Game Summary</th>
</tr>
<tr>
<td>Score</td>
<td class="score-value"></td>
</tr>
<tr>
<td>Accuracy</td>
<td class="accuracy-value"></td>
</tr>
<tr>
<td>Speed</td>
<td class="speed-value"></td>
</tr>
</table>
</div>
<div class="intro-page">
<h2><u>Instructions</u></h2>
<p>You are our top space cadet.</p>
<p>Collect star energy by solving the equation and finding the correct star.</p>
<p>Return your mouse back to home to get a new assignment.</p>
<p>Collect the most star energy within the time limit and defend your high score.</p>
<p>Good luck!</p>
<br>
<div id="tutorial">
<div id="start">Hover here</div>
<div id="indicator-right">
<img id="indicator-1" src="images/outline_arrow_forward_ios_white_24dp.png">
<img id="indicator-2" src="images/outline_arrow_forward_ios_white_24dp.png">
<img id="indicator-3" src="images/outline_arrow_forward_ios_white_24dp.png">
<img id="indicator-4" src="images/outline_arrow_forward_ios_white_24dp.png">
<img id="indicator-5" src="images/outline_arrow_forward_ios_white_24dp.png">
<img id="indicator-6" src="images/outline_arrow_forward_ios_white_24dp.png">
<img id="indicator-7" src="images/outline_arrow_forward_ios_white_24dp.png">
<img id="indicator-8" src="images/outline_arrow_forward_ios_white_24dp.png">
</div>
<div id="indicator-left">
<img id="indicator-L1" src="images/outline_arrow_back_ios_new_white_24dp.png">
<img id="indicator-L2" src="images/outline_arrow_back_ios_new_white_24dp.png">
<img id="indicator-L3" src="images/outline_arrow_back_ios_new_white_24dp.png">
<img id="indicator-L4" src="images/outline_arrow_back_ios_new_white_24dp.png">
<img id="indicator-L5" src="images/outline_arrow_back_ios_new_white_24dp.png">
<img id="indicator-L6" src="images/outline_arrow_back_ios_new_white_24dp.png">
<img id="indicator-L7" src="images/outline_arrow_back_ios_new_white_24dp.png">
<img id="indicator-L8" src="images/outline_arrow_back_ios_new_white_24dp.png">
</div>
<div id="end">4</div>
</div>
<h2 id="tutorial-last"><strong><u></u></strong></h2>
</div>
<div id="highScore-history" class="highScoreHistory-hidden"></div>
<div id="resetButton" class = "resetButton">Reset Game</div>
<button id="highScore" class = "highScore">High Score</button>
<div id="comboMeter" class="comboMeter-hidden"></div>
<div id="flickboard" class="flickboard-hidden">
<div id="box8" class="target">box8</div>
<div id="box1" class="target">box1</div>
<div id="box2" class="target">box2</div>
<div id="box7" class="target">box7</div>
<div id="equation">equation</div>
<div id="box3" class="target">box3</div>
<div id="box6" class="target">box6</div>
<div id="box5" class="target">box5</div>
<div id="box4" class="target">box4</div>
</div>
</div>
<div class="flip-card">
<div class="flip-card-inner">
<div class="flip-card-front">
<h2>About Math Flick</h2>
<p>Math Flick is a fun game that aims to improve your hand-eye coordination, reflexes, and basic arithmetic. </p>
<p>Music: 8 Bit Retro Funk by David Renda </p>
</div>
<div class="flip-card-back">
<h2>About Us</h2>
<p>Welcome! We are three aspiring web developers. We are learning <a href="https://www.theodinproject.com">The Odin Project</a> this year and after creating our first <a href="https://www.theodinproject.com/paths/foundations/courses/foundations/lessons/rock-paper-scissors">Rock Paper Scissors assignment</a>, we wanted to submit a game with the knowledge we gained!</p>
<p>This is our submission for the very first <a href="https://itch.io/jam/top-jam-1" target="_blank">Odin Project jam</a>!</p>
</div>
</div>
</div>
<footer>
<img id="vol-img" src="images/outline_volume_up_white_24dp.png">
<input id="vol-control" type="range" min="0" max="100" step="1" autocomplete="off" oninput="SetVolume(this.value)" onchange="SetVolume(this.value)"></input>
</footer>
<footer>
<div id="team-links">
<span>
<a href="https://github.com/TYLPHE" target="blank">
<img src="./images/GitHub-Mark-Light-64px.png">
<p id="Tyler">T</p>
</a>
<a href="https://github.com/xiaozhong21" target="blank">
<img src="./images/GitHub-Mark-Light-64px.png">
<p id="Xiao">X</p>
</a>
<a href="https://github.com/Appletri" target="blank">
<img src="./images/GitHub-Mark-Light-64px.png">
<p id="Tri">T</p>
</a>
</span>
</div>
</footer>
<script src="scripts.js"></script>
</body>
</html>