-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (54 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Laser chess</title>
<link rel="stylesheet" href="/css/style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<div class="rotate-buttons">
<div class="rotate-header">Rotate</div>
<div class="buttons">
<button class="rotate-button" type="button" aria-label="rotate piece left" disabled>
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M7.11 8.53L5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47zM6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42c-.52-.75-.87-1.59-1.01-2.47zm1.01 5.32c1.16.9 2.51 1.44 3.9 1.61V17.9c-.87-.15-1.71-.49-2.46-1.03L7.1 18.32zM13 4.07V1L8.45 5.55 13 10V6.09c2.84.48 5 2.94 5 5.91s-2.16 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93s-3.05-7.44-7-7.93z"></path>
</svg>
</button>
<button class="rotate-button" type="button" aria-label="rotate piece right" disabled>
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"></path>
</svg>
</button>
</div>
</div>
<div class="winner-message" aria-label="winner message">
<div class="winner-message__content">
<div id="winner-message__header"></div>
<div id="winner-message__info"></div>
<div class="container">
<div class="row winner-message-buttons">
<div class="row">
<p>Support developers: <a href="https://wallet.near.org/send-money/hockeyclubmanager.near">https://wallet.near.org/send-money/hockeyclubmanager.near</a></p>
</div>
<div class="row">
<p>Support Ukraine: <a href="https://unchain.fund/#donate">https://unchain.fund/#donate</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
window.addEventListener('load', (e) => EntryPoint.initGame({
type: "ai",
userColor: "blue",
opponentColor: "red",
currentPlayer: "blue",
// "Ace", "Curiosity", "Grail", "Mercury", "Sophie". Random - do not specify this field at all
sn: "l++3d++kd++b+++2/2b7/3B+6/b++1B1ss+1b+++1B+/b+++1B+1S+S1b++1B/6b+++3/7B++2/2B+DKD3L",
}))
</script>
</body>
</html>