blob: f022c64ac32176c96fb28da15b1a3b7b6db208d4 (
plain)
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
79
80
|
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>sakura | game</title>
<link rel="stylesheet" type="text/css" href="/style.css"/>
<link rel="stylesheet" type="text/css" href="/game/style.css"/>
</head>
<body>
<header>
<details>
<summary>Game state</summary>
<code id="game-json"></code>
</details>
</header>
<img class="background" src="/game/assets/sea-water-texture-seamless.jpg">
<main id="game"></main>
<template id="tmpl">
<div id="arena">
<div id="shadow" class="pool">
<input type="checkbox" data-ordering="8" class="sakura" style="animation-delay: 0.7s"/>
</div>
<div id="distance" class="pool">
<div class="content">
<input type="checkbox" data-ordering="8" class="sakura" style="animation-delay: 0.7s"/>
<input type="checkbox" data-ordering="6" class="sakura" style="animation-delay: 1.4s"/>
<input type="checkbox" data-ordering="4" class="sakura" style="animation-delay: 2.1s"/>
<input type="checkbox" data-ordering="2" class="sakura" style="animation-delay: 2.8s"/>
<input type="checkbox" data-ordering="0" class="sakura" style="animation-delay: 3.5s"/>
<input type="checkbox" data-ordering="1" class="sakura" style="animation-delay: 4.2s"/>
<input type="checkbox" data-ordering="3" class="sakura" style="animation-delay: 4.9s"/>
<input type="checkbox" data-ordering="5" class="sakura" style="animation-delay: 5.6s"/>
<input type="checkbox" data-ordering="7" class="sakura" style="animation-delay: 6.3s"/>
<input type="checkbox" data-ordering="9" class="sakura" style="animation-delay: 7s"/>
</div>
</div>
</div>
<ul id="actions">
<template>
<li class="action" data-index="">
<button type="button" class="description"
onclick="window.socket.send(closest('.action').getAttribute('data-index'))">Do
</button>
</li>
</template>
</ul>
<template id="player">
<div class="player">
<div class="pool aura" data-value="3">
<input type="checkbox" data-ordering="0" class="sakura"/>
<input type="checkbox" data-ordering="1" class="sakura"/>
<input type="checkbox" data-ordering="2" class="sakura"/>
<input type="checkbox" data-ordering="3" class="sakura"/>
<input type="checkbox" data-ordering="4" class="sakura"/>
</div>
<div class="pool life" data-value="3">
<input type="checkbox" data-ordering="0" class="sakura"/>
<input type="checkbox" data-ordering="1" class="sakura"/>
<input type="checkbox" data-ordering="2" class="sakura"/>
<input type="checkbox" data-ordering="3" class="sakura"/>
<input type="checkbox" data-ordering="4" class="sakura"/>
<input type="checkbox" data-ordering="5" class="sakura"/>
<input type="checkbox" data-ordering="6" class="sakura"/>
<input type="checkbox" data-ordering="7" class="sakura"/>
<input type="checkbox" data-ordering="8" class="sakura"/>
<input type="checkbox" data-ordering="9" class="sakura"/>
</div>
</div>
</template>
</template>
<script src="/game/game.js"></script>
</body>
</html>
|