diff --git a/src/components/GolfGame.tsx b/src/components/GolfGame.tsx index f873dd6..73002c4 100644 --- a/src/components/GolfGame.tsx +++ b/src/components/GolfGame.tsx @@ -17,7 +17,7 @@ interface GolfGameProps { const GolfGame = ({ onGameIdChange, onPlayerIdChange, onPlayerNameChange, onConnectionChange }: GolfGameProps) => { const [showRules, setShowRules] = useState(false) - + const { gameState, roomCode, @@ -95,9 +95,9 @@ const GolfGame = ({ onGameIdChange, onPlayerIdChange, onPlayerNameChange, onConn Join Game - -

How to Play Golf

- +

Goal

Get the lowest score by the end of the game. Lower is better!

- +

Setup

- +

Your Turn

- +

Card Values

- +

Ending the Game

{winner && (
-
🎉 🎊 🎉
+ {currentPlayer?.name === winner ? ( +
🎉 🎊 🎉
+ ) : ( +
+ )}
{currentPlayer?.name === winner ? ( <> @@ -258,14 +262,14 @@ const GolfGame = ({ onGameIdChange, onPlayerIdChange, onPlayerNameChange, onConn Lower scores win • Pairs cancel out
- -