-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (68 loc) · 3.53 KB
/
index.html
File metadata and controls
73 lines (68 loc) · 3.53 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Bender vs Space Force: A typing game</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Russo+One" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Play" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="screen" href="style.css" />
</head>
<body>
<div class="container">
<div class="content container">
<div class="row">
<div class="controls col">
<div class="top-score">Top Score: </div>
<div class="btn-group-vertical" role="group" id="controls" aria-label="Basic example">
<button type="button" id="easy" class="btn btn-primary">WARM UP</button>
<button type="button" id="fast" class="btn-primary">FAST</button>
<button class="btn btn-primary" id="marathon">MARATHON</button>
<button class="btn btn-danger" id="godly">GODLY</button>
<button type="button" id="nerd" class="btn btn-warning">NERD</button>
<button type="button" id="reset" class="btn btn-secondary">RESET</button>
</div>
<img src="img/toad/hypnoToad.gif" alt="hypnoToad" style="width:200px;height:150px;">
</div>
<div id="game-board" class="col">
<canvas id="game" width="900" height="500"></canvas>
</div>
</div>
<p>**Space Bar will start the custom game.**</p>
<div id="customModeDiv" class="btn btn-secondary" >
<div style="display: inline-block;">
<label for="velocityInput">Velocity:</label>
<input type="number" id="velocityInput" name="velocityInput" value="-12" style="width: 50px;">
</div>
<div style="display: inline-block;">
<label for="frequencyInput">Frequency:</label>
<input type="number" id="frequencyInput" name="frequencyInput" value="-20" style="width: 50px;">
</div>
<div>
<label for="textInput">Letters:</label>
<input type="text" id="textInput" name="textInput" placeholder="Enter text here" style="width: 200px;">
</div>
<button type="button" id="custom" class="btn btn-warning">CUSTOM PLAY</button>
</div>
<br/>
</div>
<footer id="footer">
A Canvas Javascript game by Jason Simms produced August 2018 with the help of Ironhack Berlin.
</footer>
</div>
<!--Jquery -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<!--Game Items -->
<script src="JS/sounds.js"></script>
<script src="JS/bender.js"></script>
<script src="JS/enemy.js"></script>
<script src="JS/intro.js"></script>
<script src="JS/canvasanimation.js"></script>
<script src="JS/components.js"></script>
<script src="JS/main.js"></script>
</body>
</html>