aboutsummaryrefslogtreecommitdiff
path: root/src/spectate/index.html
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-04 20:48:43 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-04 20:48:43 +0200
commit4ebe819106d82459def54561cf8dc71ec22ba6e4 (patch)
tree991046e078bf9de21cc392343401ef1d46a8962c /src/spectate/index.html
parente49a85505701740b195a03892e1fc5cf8d6382a2 (diff)
downloadgpn-tron-rust-4ebe819106d82459def54561cf8dc71ec22ba6e4.tar
gpn-tron-rust-4ebe819106d82459def54561cf8dc71ec22ba6e4.tar.bz2
gpn-tron-rust-4ebe819106d82459def54561cf8dc71ec22ba6e4.tar.zst
save creds
Diffstat (limited to 'src/spectate/index.html')
-rw-r--r--src/spectate/index.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/spectate/index.html b/src/spectate/index.html
index 394b780..5b9dc5a 100644
--- a/src/spectate/index.html
+++ b/src/spectate/index.html
@@ -12,5 +12,40 @@
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>
+ </div>
+ <div id="chat">
+ <h2>Chat</h2>
+ </div>
+ </div>
+ <div id="board"></div>
</body>
</html>