-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
42 lines (40 loc) · 954 Bytes
/
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
<!--
=======
<h2>(<%= onlineplayers %>) online players!</h2>
>>>>>>> 8c81bf019ec884da40b7c799f9e5b5b2d1457f5f
<section id="host_game">
<form action="/game/create" method="post">
<h2>Host a new game</h2>
<label>Name</label>
<input type="text" name="name" />
<input type="submit" value="Create!" />
</form>
</section>
<section id="join_game">
<form action="/game/join" method="post">
<h2>Join a game</h2>
<label>Name</label>
<input type="text" name="name" />
<input type="submit" value="Join!" />
</form>
</section>
<section id="game_list">
<h2>50 Most active games</h2>
<table>
<thead>
<tr>
<td>Game</td>
<td># Players</td>
</tr>
</thead>
<tbody>
<% for(var h=0; h<hosts.length;h=h+2) { %>
<tr>
<td><a href="/play/<%= hosts[h] %>" target="_blank"><%= hosts[h] %></a></td>
<td><%= hosts[h+1] %></td>
</tr>
<% } %>
</tbody>
<table>
</section>
-->