-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (62 loc) · 2.8 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
54
55
56
57
58
59
60
61
62
63
64
65
66
<!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">
<link rel="stylesheet" href="stylesheets/application.css">
<link rel="stylesheet" href="stylesheets/game.css">
<title>Document</title>
</head>
<body>
<h1>Timed Game <div id="selected-character"> Choose Character </div></h1>
<button data-action="start-game">Start Game!</button><br><br>
<div id="main">
<div id="teams-container">
</div><br><br>
<div id='create-character'>
<form>
<label>Name:<input type="text" name="name"></label><br>
<label>Image URL:<input type="text" name="image_url"></label><br>
<label>Speed<select>
<option value = 1>1</option>
<option value = 2>2</option>
<option value = 3>3</option>
<option value = 4>4</option>
<option value = 5>5</option>
</select></label><br>
<label>Size:<select>
<option value = 1>1</option>
<option value = 2>2</option>
<option value = 3>3</option>
<option value = 4>4</option>
<option value = 5>5</option>
</select></label><br>
<label>Turning:<select>
<option value = 1>1</option>
<option value = 2>2</option>
<option value = 3>3</option>
<option value = 4>4</option>
<option value = 5>5</option>
</select></label><br>
<label>Team:<select>
<option value = 1>Team Nintendo</option>
<option value = 2>Team Cartoons</option>
</select></label><br>
<input type="submit" value="Create Character">
</form><br>
</div>
</div>
<div id="game" style="display: none;">
<canvas id="canvas" height="600" width="1200"></canvas>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.1/howler.min.js"></script>
<script type="text/javascript" src="src/components/character.js"></script>
<script type="text/javascript" src="src/components/team.js"></script>
<script type="text/javascript" src="src/sounds.js"></script>
<script type="text/javascript" src="src/index.js"></script>
<script type="text/javascript" src="src/fetch.js"></script>
<script type="text/javascript" src="src/game/game_variables.js"></script>
<script type="text/javascript" src="src/game/game.js"></script>
</body>
</html>