diff --git a/app-dev/party-game/app/components/question-panel.tsx b/app-dev/party-game/app/components/question-panel.tsx index 759193c8..4ecc8a27 100644 --- a/app-dev/party-game/app/components/question-panel.tsx +++ b/app-dev/party-game/app/components/question-panel.tsx @@ -85,24 +85,27 @@ export default function QuestionPanel({game, gameRef, currentQuestion}: { game:

{currentQuestion.prompt}

- {isShowingCorrectAnswers ? (<> -

- {currentQuestion.explanation} -

- ) : (
-

+
+ {isShowingCorrectAnswers ? (<> +

+ {currentQuestion.explanation} +

+ ) : (
+

Pick {totalCorrectAnswerOptions} -

- {hasEverGuessed && ( -

- {countLeftToPick !== 0 ? ( +

+ {hasEverGuessed && ( +

+ {countLeftToPick !== 0 ? ( `Pick ${Math.abs(countLeftToPick)} ${countLeftToPick > 0 ? 'More' : 'Less'}` ) : 'You are all set'} -

- )} - {hasEverGuessed && currentPlayer.displayName &&
You are {currentPlayer.displayName}
} - {isShowingCorrectAnswers && currentPlayer?.score > -1 && hasEverGuessed && currentPlayer.displayName &&
and you have {currentPlayer.score} point{currentPlayer.score === 1 ? '' : 's'}
} -
)} +

+ )} +
)} + {hasEverGuessed && currentPlayer.displayName &&
You are {currentPlayer.displayName} + {isShowingCorrectAnswers && currentPlayer?.score > -1 && ` and you have ${currentPlayer.score} point${currentPlayer.score === 1 ? '' : 's'}`} +
} +