Show garbage received on player elimination
- Add garbageReceived array to player objects - Track garbage in addGarbageToPlayer() with sender name - Include garbageReceived in getStates() output - Update endGame() to pass garbage stats to UI - Update showGameOver() to display garbage count per player - Add CSS styling for eliminated players and garbage column - Bump CSS version for cache refresh Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
1 parent
a1cbd27a71
commit
e3f594e44e
5 files changed
+29
-7
No files matched your search
+1
-1
@@ -7,7 +7,7 @@
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="css/style.css?v=10">
|
||||
<link rel="stylesheet" href="css/style.css?v=11">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
|
||||
Reference in new issue
Block a user