forked from den-materials/project-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (50 loc) · 2.34 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
<!DOCTYPE html>
<html>
<head>
<title>WHACK-A-MOLE</title>
<!-- set viewport width to device width -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap CDN -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<!-- links to css style, for specific element styling -->
<link rel="stylesheet" type="text/css" href="css/style2.css">
<!-- links to google font "Press Start 2P" for arcade font styling -->
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
</head>
<body>
<div class="container-fluid">
<!-- header with game title -->
<div class="jumbotron">
<h1>WHACK-A-MOLE</h1>
</div>
<!-- main content div, containing 3 divs: description, game, and control panel -->
<div class="container">
<div class="row">
<div class="description-div">
<h2>The Game</h2>
<p id="p1">You've got 10 seconds to whack as many moles as you can.</p>
<p id="p2">Whack the most moles and you're the winner!</p>
</div>
<!-- where the JS magic happens -->
<div id="gameboard-div" class="gameboard-div"></div>
<!-- for game stats -->
<div class="control-panel-div">
<button id="play">PLAY!</button>
<!-- <button id="reset">RESET</button> -->
<div id="timer">TIMER</div>
<div id="declaration">Player 1 Turn</div>
<div id="player1">#1</div>
<div id="player2">#2</div>
<div id="p-1-score">0</div>
<div id="p-2-score">0</div>
</div>
</div>
</div>
</div>
<!-- where to find the JS magic to be executed -->
<script type="text/javascript" src="js/app-3.js"></script>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
</body>
</html>