-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (78 loc) · 3.33 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
67
68
69
70
71
72
73
74
75
76
77
78
<!doctype html>
<html>
<head>
<title>Hill Dive</title>
<script data-main="js/main.js" src="js/lib/require.js"></script>
<link rel="stylesheet" type="text/css" href="stylesheets/screen.css" />
</head>
<body>
<canvas width="600" height="400" id="game"></canvas>
<div id="fps"></div>
<div id="progress"></div>
<div id="panel-layer">
<div id="panel">
<div class="current" id="name">
<h1>Hill Dive</h1>
<form id="name-form">
<label for="name-txt">What's your name?</label><br>
<input type="text" name="name" id="name-txt"><br>
<input type="submit" value="Go!">
</form>
</div>
<div id="loading">
<h1>Loading...</h1>
</div>
<div id="games">
<a href="http://tinywingsguide.com/how-to-play/" target="_blank">How to Play</a>
<h1>Games</h1>
<button id="new-game-btn">New Game</button>
<ul id="game-list">
</ul>
<p id="no-games">There are currently no joinable games. Start a new one!</p>
</div>
<div id="new-game">
<h1>New Game</h1>
<form id="new-game-form">
<p>
<label for="game-name-txt">Game Name:</label>
<input type="text" name="name" id="game-name-txt">
</p>
<p>
<label for="length-num">Length:</label>
<input type="number" name="length" value="1000" id="length-num">
</p>
<p>
<label for="height-num">Height:</label>
<input type="number" name="height" value="4" id="height-num">
</p>
<p>
<label for="freq-num">Frequency:</label>
<input type="number" name="freq" value="3" title="Lower numbers make bumpier hills" id="freq-num">
</p>
<p class="submit">
<input type="submit" value="Make Game!">
</p>
</form>
</div>
<div id="game-room">
<h1 id="game-name">Game</h1>
<h2>Members</h2>
<ul id="members"></ul>
<p>Wait for your friends to join!</p>
<button id="start-btn">Start!</button>
</div>
<div id="results">
<h1>Results</h1>
<ul id="result-list"></ul>
<button id="done-btn">Done</button>
</div>
</div>
</div>
<div id="assets">
<img id="blue" src="birds/blue.png">
<img id="yellow" src="birds/yellow.png">
<img id="red" src="birds/red.png">
<img id="green" src="birds/green.png">
</div>
</body>
</html>