-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathshell_game.html
41 lines (37 loc) · 1.45 KB
/
shell_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
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shell Game</title>
<link rel="stylesheet" href="../assets/css/shell_game.css">
</head>
<body>
<div class="game center">
<div class="canvas-wrapper" id="canvas">
<div class="header">
<h1 id="heading">Hello, Welcome to the Shell Game!!</h1>
<form id="level">
<label for="hardness">Select the difficulty level: </label>
<select name="difficulty" id="hardness">
<option value="easy">Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
</form>
</div>
<canvas id="canvas-top"></canvas>
<div class="but">
<button id="button" onclick="start()">Start</button>
<button id="button_q" onclick="stop()">Quit</button>
<button id="button_r" onclick="reset()">Reset</button>
</div>
<h2 id="score"></h2>
<h2 id="highest"></h2>
<img src="../assets/GIF/shell_game.gif" id="gif">
</div>
</div>
<script type="text/javascript" src="../assets/Js/shell_game.js"></script>
</body>
</html>