Skip to content

Commit

Permalink
add info for each game mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ayan4m1 committed Jan 29, 2024
1 parent ee764d3 commit 82fe36a
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/components/coloree/colorBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,20 @@ export default function ColorBuilder({ colors, onSliceAdd, onSoloPlayClick }) {
<Fragment>
<Card body className="mb-3">
<Card.Title>Solo Play</Card.Title>
<Button className="mt-2" variant="success" onClick={onSoloPlayClick}>
<FontAwesomeIcon icon={faWandMagicSparkles} /> Start Game
</Button>
<Alert variant="info" className="my-2">
Play a game on your own with a randomly generated puzzle!
</Alert>
<div className="text-end">
<Button className="mt-2" variant="success" onClick={onSoloPlayClick}>
<FontAwesomeIcon icon={faWandMagicSparkles} /> Start Game
</Button>
</div>
</Card>
<Card body className="mb-3">
<Card.Title>Generate a Puzzle</Card.Title>
<Alert variant="info" className="my-2">
Create a randomly generated puzzle to share with your friends!
</Alert>
<Form>
<Form.Group>
<Form.Label>Difficulty (1 - 6)</Form.Label>
Expand All @@ -94,7 +102,7 @@ export default function ColorBuilder({ colors, onSliceAdd, onSoloPlayClick }) {
</Card>
<Card body className="mb-3">
<Card.Title>Create a Puzzle</Card.Title>
<Alert variant="info">
<Alert variant="info" className="my-2">
Use the color picker and percentage inputs below to add colors up to
100%. Then, share your puzzle with friends and see if you can stump
them!
Expand Down

0 comments on commit 82fe36a

Please sign in to comment.