aboutsummaryrefslogtreecommitdiff
path: root/src/spectate/index.html
diff options
context:
space:
mode:
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>