-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
30 lines (27 loc) · 965 Bytes
/
game.html
File metadata and controls
30 lines (27 loc) · 965 Bytes
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
<!-- This page serves as an interface for all the minigames. -->
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="styles/game_style.css"/>
<script type="text/javascript" src="scripts/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="games/minesweeper.js"></script>
</head>
<body>
<div id="title-box">
<div class="ctmenu"><button id="ctbutton">?</button><div class="ctcontent"><h2>Controls</h2><p id="controls-text">Here are some example controls. <br>
blahblah blah press up to go up</p></div></div>
<h1 id="game-title"></h1>
</div>
<div id="game-container">
<canvas id="board" width="512" height="512"></canvas>
<h2 id="game-over" class="red">Game Over</h2>
</div>
<div id="scoreboard">
<h1 id="score">Score: 0</h1>
<h1 id="hs">High Score: 0</h1>
</div>
<div id="box"><button id="sb" onclick="reset()">Start</button></div>
<div id="controls"></div>
</body>
</html>