forked from ondras/rri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (69 loc) · 2.41 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<meta name="theme-color" content="#def" />
<link rel="manifest" href="manifest.webmanifest" />
<link rel="stylesheet" href="client/client.css" />
<link rel="icon" href="img/icon.svg" />
<link rel="apple-touch-icon" href="img/icon-192.png" />
<title>Railroad Ink</title>
</head>
<body>
<h1>Railroad Ink</h1>
<main>
<section id="intro">
<p>Tap to place/rotate, double-tap to remove.</p>
<ul>
<li><button name="start-normal"><strong>Play normal game</strong></button></li>
<li><button name="start-lake">Play with lakes</button></li>
<li><button name="start-forest">Play with forests</button></li>
<li><button name="start-multi">Multiplayer</button></li>
</ul>
</section>
<section id="game"></section>
<section id="outro">
<h2>Game over</h2>
<ul>
<li><button name="again"><strong>Play again</strong></button></li>
<li><button name="download">Download an image of the game</button></li>
</ul>
</section>
<section id="score"></section>
</main>
<footer>
<ul>
<li><a target="_blank" href="https://www.horribleguild.com/railroad-ink-deep-blue/">Railroad Ink</a> © Horrible Games</li>
<li><a target="_blank" href="https://github.com/ondras/rri/">Instructions & Source</a></li>
<li><a target="_blank" href="https://www.horrible-games.com/wp-content/uploads/2018/07/RRI_BLU_Rulebook_ENG_v05_light.pdf">Offical rules</a></li>
</ul>
</footer>
<template>
<div id="multi-setup">
<table>
<tr>
<td>Your name: </td><td><input name="player-name" value="player" /></td>
</tr>
<tr>
<td>Game name: </td><td><input name="game-name" value="game" /></td>
</tr>
</table>
<ul>
<li><button name="continue">Continue game</button></li>
<li><button name="join">Join game</button></li>
<li><button name="create-normal">Create normal game</button></li>
<li><button name="create-lake">Create game with lakes</button></li>
<li><button name="create-forest">Create game with forests</button></li>
</ul>
</div>
<div id="multi-lobby">
<h2>Players</h2>
<ul></ul>
<button name="start"></button>
</div>
</template>
<script type="module" src="client/client.js"></script>
<script>navigator.serviceWorker.register("sw.js");</script>
</body>
</html>