Add leaderboard component to UI and API endpoint to fetch player rankings.

This commit is contained in:
IM23a-spirgif
2025-06-20 19:43:15 +02:00
parent 754422d043
commit 3893c144bf
4 changed files with 122 additions and 11 deletions
+9
View File
@@ -7,6 +7,15 @@
</head>
<body>
<canvas id="matrix-canvas"></canvas>
<div class="leaderboard">
<h3>🏆 High Rollers</h3>
<ul id="leaderboard-list">
<li>Loading...</li>
</ul>
<div id="your-rank" class="your-rank"></div>
</div>
<button class="logout" id="logout">Logout</button>
<div class="balance">
Balance: $<span id="balance">0</span>