diff --git a/html/index.html b/html/index.html index e3e2544..a31e739 100644 --- a/html/index.html +++ b/html/index.html @@ -72,11 +72,48 @@ text-align: center; margin-top: 20px; } + + + .rules-section { + margin-bottom: 20px; + text-align: left; + width: 100%; + max-width: 600px; + } + + .rules-section h2 { + margin-bottom: 10px; + text-align: center; + } + + .rules-section ul { + padding-left: 20px; + } + + .rules-section li { + margin-bottom: 5px; + } + +

Turn of Destiny

+ +
+

Game Rules

+ +
@@ -233,7 +270,7 @@

Scores

stakeDisplay.textContent = 'Stake: ' + (currentRound.currentStake); statusDisplay.textContent = 'Status: ' + (gameState.isGameActive ? 'Closed' : 'Open'); roundDisplay.textContent = 'Round: ' + (gameState.currentRoundIndex + 1) + '/' + gameState.rounds.length; - winnerDisplay.textContent = 'Winner: ' + (gameState.winner ? gameState.winner.name : ''); + winnerDisplay.textContent = 'Winner: ' + (gameState.winner ? gameState.winner.name : 'No winner yet'); currentPlayerDisplay.textContent = 'Current Player: ' + (gameState.players.find(p => p.name === currentPlayer.name).name); scoreTable.innerHTML = '';