diff --git a/src/components/NorthcottsGame.tsx b/src/components/NorthcottsGame.tsx index 583ddc2..eba81d2 100644 --- a/src/components/NorthcottsGame.tsx +++ b/src/components/NorthcottsGame.tsx @@ -307,8 +307,8 @@ const NorthcottsGame: React.FC = ({ showSocialShare = false }; const currentPlayerColor = gameState.currentPlayer === 'L' ? 'blue' : 'red'; - const bgClass = gameState.currentPlayer === 'L' ? 'bg-blue-50' : 'bg-red-50'; - const borderClass = gameState.currentPlayer === 'L' ? 'border-blue-600' : 'border-red-900'; + const bgClass = gameState.gameStarted ? (gameState.currentPlayer === 'L' ? 'bg-blue-50' : 'bg-red-50') : 'bg-background'; + const borderClass = gameState.gameStarted ? (gameState.currentPlayer === 'L' ? 'border-blue-600' : 'border-red-900') : 'border-border'; return (
@@ -398,7 +398,7 @@ const NorthcottsGame: React.FC = ({ showSocialShare = false {gameState.misereMode ? 'Last to move loses (Misère)' : 'Last to move wins (Normal)'}

- ) : ( + ) : gameState.gameStarted ? (
Current Player: {gameState.currentPlayer} ({gameState.currentPlayer === 'L' ? 'Blue' : 'Red'}) @@ -407,6 +407,12 @@ const NorthcottsGame: React.FC = ({ showSocialShare = false {gameState.misereMode ? 'Misère Mode: Last to move loses' : 'Normal Mode: Last to move wins'}

+ ) : ( +
+

+ {gameState.misereMode ? 'Misère Mode: Last to move loses' : 'Normal Mode: Last to move wins'} +

+
)}