blob: 318102a1cede2a228ce77d4ec6a801ce83371289 (
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GPN Tron</title>
<link rel="stylesheet" href="style.css" />
<script src="main.js"></script>
</head>
<body>
<noscript>
This is the GPN-Tron spectator application. You need JavaScript to
run it.
</noscript>
<div id="side">
<div id="info">
<h1>GPN-Tron</h1>
<p>
This is the GPN-Tron Rust rewrite. It should be compatible
with the original. Connect via TCP and join the fun!
</p>
<ul>
<li>
Spectator:
<script>
document.write(`HTTP ${window.location.host}`);
</script>
</li>
<li>
Player:
<script>
document.write(
`TCP ${window.location.hostname}:4000`
);
</script>
</li>
</ul>
<a href="https://codeberg.org/metamuffin/gpn-tron-rust">
Source code
</a>
</div>
<div id="scoreboard">
<h2>Scoreboard</h2>
<ol id="scoreboard_inner"></ol>
</div>
<div id="chat">
<h2>Chat</h2>
<div id="chat_messages"></div>
</div>
</div>
<div id="board"></div>
</body>
</html>
|