Add descriptive paragraph to Craps game

This commit is contained in:
gpt-engineer-app[bot] 2025-09-05 06:16:45 +00:00
parent 095c7ccbf7
commit 975808f831

View file

@ -316,6 +316,9 @@ const CrapsGame: React.FC<CrapsGameProps> = ({
<CardDescription className="text-lg">In the game of Craps, we roll two dice, and note the sum S. In the traditional game, if S is 2, 3, or 12, you lose immediately; if the S is 7 or 11, you win immediately, and the game continues otherwise.</CardDescription> <CardDescription className="text-lg">In the game of Craps, we roll two dice, and note the sum S. In the traditional game, if S is 2, 3, or 12, you lose immediately; if the S is 7 or 11, you win immediately, and the game continues otherwise.</CardDescription>
</CardHeader> </CardHeader>
<CardContent className="space-y-6"> <CardContent className="space-y-6">
<p className="text-base text-center text-muted-foreground">
On this page, you can: (a) play the classic game; (b) make your own win/lose conditions and play; (c) simulate the game over a number of rounds to note win/loss statistics and the average game duration.
</p>
{/* Simulation Controls */} {/* Simulation Controls */}
<Card className="bg-accent/5"> <Card className="bg-accent/5">
<CardHeader className="flex flex-row items-center justify-between"> <CardHeader className="flex flex-row items-center justify-between">