-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (63 loc) · 2.1 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Atoms</title>
<script src="//cdn.firebase.com/js/client/1.1.0/firebase.js"></script>
<script src="bower_components/promise.js/promise.js"></script>
<script src="js/pubsub.js"></script>
<script src="js/xy.js"></script>
<script src="js/audio.js"></script>
<script src="js/atoms.js"></script>
<script src="js/canvas.js"></script>
<script src="js/board.js"></script>
<script src="js/player.js"></script>
<script src="js/setup.js"></script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body onload="new Setup()">
<div id="setup">
<h1>Game setup</h1>
<p>You might want to <a href="rules.html">read the rules</a>.</p>
<div id="local">
<h2>Local play</h2>
<p>
Number of players:
<select id="local-players">
<option value="2" selected="selected">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</p>
<div id="local-roster">
<p>
<span></span>
<select>
<option value="ui">Human</option>
<option value="ai">AI</option>
</select>
Name: <input type="text" size="10" />
</p>
</div>
<p><button id="local-play">Play!</button></p>
</div>
<div id="multiplayer">
<h2>Multiplayer</h2>
<p>
Number of players:
<select id="multiplayer-players">
<option value="2" selected="selected">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</p>
<p>Game name: <input type="text" size="10" id="multiplayer-game" /></p>
<p>Your name: <input type="text" size="10" id="multiplayer-name" /></p>
<p><button id="multiplayer-play">Play!</button></p>
</div>
<footer>© <a href="http://ondras.zarovi.cz/">Ondřej Žára</a>, networking by <a href="https://www.firebase.com/">Firebase</a>,
hosting by <a href="https://www.firebase.com/docs/hosting/">Firebase hosting</a>, source at <a href="https://github.com/ondras/atoms">GitHub</a></footer>
</div>
</body>
</html>