diff --git a/src/components/game/ChoiceCard.tsx b/src/components/game/ChoiceCard.tsx index 5474e8f..93e6623 100644 --- a/src/components/game/ChoiceCard.tsx +++ b/src/components/game/ChoiceCard.tsx @@ -10,13 +10,15 @@ interface ChoiceCardProps { previousChoices: string[]; onClick: () => void; disabled?: boolean; + optionNumber: number; } export const ChoiceCard: React.FC = ({ choice, previousChoices, onClick, - disabled = false + disabled = false, + optionNumber }) => { const strengtheningChoices = choice.strengthenedBy?.filter(c => previousChoices.includes(c)) || []; const weakeningChoices = choice.weakenedBy?.filter(c => previousChoices.includes(c)) || []; @@ -45,6 +47,7 @@ export const ChoiceCard: React.FC = ({
+ Option {optionNumber}: {choice.text}
@@ -112,4 +115,4 @@ export const ChoiceCard: React.FC = ({ ); -}; \ No newline at end of file +}; \ No newline at end of file diff --git a/src/pages/Index.tsx b/src/pages/Index.tsx index c0561b2..8978ded 100644 --- a/src/pages/Index.tsx +++ b/src/pages/Index.tsx @@ -395,13 +395,14 @@ const Index = () => {
- {currentStageData.choices.map((choice) => ( + {currentStageData.choices.map((choice, index) => ( handleStrategyClick(choice)} disabled={showingResult || isLoading} + optionNumber={index + 1} /> ))}