-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
53 lines (47 loc) · 2.04 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>Shrimpin' Ain't Easy</title>
<meta charset="utf-8">
<link href='https://fonts.googleapis.com/css?family=Bree+Serif|Kaushan+Script' rel='stylesheet' type='text/css'>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css'>
<link rel="stylesheet" type="text/css" href="./lib/stylesheets/canvas.css">
<script type='text/javascript' src='./libraries/p5.min.js'></script>
<script type='text/javascript' src='./libraries/p5.sound.js'></script>
<script src="sketch.js" type="text/javascript"></script>
</head>
<body>
<div class="game-view">
<div class="row">
<div class="col s8 center">
<h2 class="center title">Shrimpin' Ain't Easy</h2>
<div class="card" style="padding:10px">
<canvas id="game" tabindex="1" height=500 width=750 padding="30px"></canvas>
<span id="round" class="btn">Round:</span>
<span id="timer" class="btn black">Time:</span>
<span id="score" class="btn">Score:</span>
</div>
<h4 id="winning-scores" class="custom-font shrimp-red black-shadow-2 center"></h4>
</div>
<div class="col s4">
<br>
<div id="instructions" class="center card custom-font" style="margin-top:55px;">
<h4>Instructions</h4>
<p>Left and right arrow keys move "Jenny"</p>
<p>Spacebar drops nets on shrimp to score points</p>
<p>Pass Round 1 with 3000 points</p>
<p>Pass Round 2 with 6000 points</p>
<p>Win the game with 9000 points!</p>
<p>Hint: bottom shrimp = more points</p>
<div id="start-button" class="btn">Press Enter to Begin Round!</div>
</div>
<div class="card center custom-font">
<h1 id="game-status" class="title"></h1>
<h5 id="continueOptions"></5>
</div>
</div>
</div>
</div>
<script src="main.bundle.js"></script>
</body>
</html>