Skip to content

Commit

Permalink
Correct grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
klydra committed Feb 22, 2023
1 parent fa5529e commit b72c97e
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 49 deletions.
39 changes: 27 additions & 12 deletions src/components/game/lobby/LobbySettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function LobbySettings(props: { session: SessionType }) {
<Rule
icon={<Shuffle className="scale-[200%]" />}
title="random cards"
text="order cards …..gsfdagfgsafdgas fgdfasgfdgasfg"
text="Cards drawn, given, etc. are taken from a random position in the stack."
>
<Switch
color="gray"
Expand All @@ -53,10 +53,25 @@ export default function LobbySettings(props: { session: SessionType }) {
}
/>
</Rule>
<Rule
icon={<Shuffle className="scale-[200%]" />}
title="unlimited cards"
text="There is no cards deck. Every card drawn, given, etc. is purely random."
>
<Switch
color="gray"
checked={props.session.rules.unlimited}
onClick={() =>
rules(props.session, {
unlimited: !props.session.rules.unlimited,
})
}
/>
</Rule>
<Rule
icon={<EmojiEvents className="scale-[200%]" />}
title="short match"
text="the game ends when the first player plays all his cards"
text="The game ends when the first player has played out all their cards."
>
<Switch
color="gray"
Expand All @@ -70,8 +85,8 @@ export default function LobbySettings(props: { session: SessionType }) {
</Rule>
<Rule
icon={<Star className="scale-[200%]" />}
title="to good to go"
text="if you draw a matching card you can play it or hold it"
title="holding"
text="If you draw a matching card you choose to play it instantly or hold onto it."
>
<Switch
color="gray"
Expand All @@ -86,7 +101,7 @@ export default function LobbySettings(props: { session: SessionType }) {
<Rule
icon={<Filter9Plus className="scale-[200%]" />}
title="million cards"
text="you can draw as long cards as you didn´t got a matching one"
text="You need to draw until you get a matching card."
>
<Switch
color="gray"
Expand All @@ -100,8 +115,8 @@ export default function LobbySettings(props: { session: SessionType }) {
</Rule>
<Rule
icon={<Layers className="scale-[200%]" />}
title="2 stacks"
text="Draw-2-cards are stackable, that the next player needs to draw 2, 3, 4, … times as much cards."
title="stacks of 2"
text="Draw-2 cards are stackable."
>
<Switch
color="gray"
Expand All @@ -115,8 +130,8 @@ export default function LobbySettings(props: { session: SessionType }) {
</Rule>
<Rule
icon={<Layers className="scale-[200%]" />}
title="4 stacks"
text="Draw-4-cards and draw-4-cards are stackable, that the next player needs to draw 2, 3, 4, … times as much cards."
title="stacks of 4"
text="Draw-4 cards are stackable."
>
<Switch
color="gray"
Expand All @@ -131,7 +146,7 @@ export default function LobbySettings(props: { session: SessionType }) {
<Rule
icon={<CompareArrows className="scale-[200%]" />}
title="magic 7"
text="If a 7 is played, the player can choose one opponent to switch cards with."
text="If a 7 is played, the player can choose one opponent to swap cards with."
>
<Switch
color="gray"
Expand All @@ -145,8 +160,8 @@ export default function LobbySettings(props: { session: SessionType }) {
</Rule>
<Rule
icon={<Speed className="scale-[200%]" />}
title="fast, faster, next one"
text="If a card is played, and a player has the identical card the player can play the identical card and from him the game continues."
title="throwing"
text="If a card is played and a player has the identical card, they may choose to throw it in, even if it isn't their turn. The game will then continue from the player after them."
>
<Switch
color="gray"
Expand Down
43 changes: 15 additions & 28 deletions src/components/home/HomeMechanics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,9 @@ export default function HomeMechanics(props: { theme: CardColor }) {
<Heading title="mechanics" />
<Row>
<Column>
<Entry
title="draw"
text="If a player can´t play a card he needs to draw a card."
>
<div className="h-52">
<CardBack />
</div>
</Entry>
<Entry
title="match"
text="When it is a player's turn, he can play a card if it has the same color, the same value or if it is a wish-card or plus-4-card."
text="Depending on the previous card played, the player can play a card with matching color or value. Wish or draw-4 cards, may be played regardless of the previous card."
>
<div className="z-10">
<CardFront
Expand All @@ -39,9 +31,17 @@ export default function HomeMechanics(props: { theme: CardColor }) {
/>
</div>
</Entry>
<Entry
title="draw"
text="If a player can´t play a card he needs to draw a card."
>
<div className="h-52">
<CardBack />
</div>
</Entry>
<Entry
title="wish"
text="If a wish-card is played, the player can define the next played color."
text="If a wish card is played, the color which needs to be played next can be chosen."
>
<CardFront
card={{
Expand All @@ -52,7 +52,7 @@ export default function HomeMechanics(props: { theme: CardColor }) {
</Entry>
<Entry
title="block"
text="If a block-card is played, the player whose turn it would be next must sit out."
text="If a block card is played, the next player will be skipped."
>
<CardFront
card={{
Expand All @@ -63,7 +63,7 @@ export default function HomeMechanics(props: { theme: CardColor }) {
</Entry>
<Entry
title="rotate"
text="If a rotate-card is played, it is played in the opposite direction to the previous one."
text="If a rotate card is played, the direction of the game is being swapped."
>
<CardFront
card={{
Expand All @@ -76,7 +76,7 @@ export default function HomeMechanics(props: { theme: CardColor }) {
<Column>
<Entry
title="plus 2"
text="If a draw-2-card is played, the next player needs to draw 2 cards. "
text="If a draw-2 card is played, the next player needs to draw 2 cards. "
>
<CardFront
card={{
Expand All @@ -87,7 +87,7 @@ export default function HomeMechanics(props: { theme: CardColor }) {
</Entry>
<Entry
title="plus 4"
text="If a draw-4-card is played, the next player need´s to draw 4 cards and the previous player define the next played color. "
text="If a draw-4 card is played, the color which needs to be played next can be chosen. The next player needs to draw 4 cards. "
>
<CardFront
card={{
Expand All @@ -98,7 +98,7 @@ export default function HomeMechanics(props: { theme: CardColor }) {
</Entry>
<Entry
title={' "ONE" '}
text="If a player only has one card left, he needs to say “ONE” if he get caught, don´t saying it, he needs to draw 2 cards."
text="If a player only has one card left, he needs to say “ONE”. If forgotten, players can report by clicking on their profile picture and the player needs to draw 2 additional cards."
>
<CardFront
card={{
Expand All @@ -107,19 +107,6 @@ export default function HomeMechanics(props: { theme: CardColor }) {
}}
/>
</Entry>
<Entry
title="winner"
text={
'The first player with zero cards left wins. "Winner Winner Chicken Dinner" '
}
>
<CardFront
card={{
face: CardFace.NUMBER_0,
color: props.theme,
}}
/>
</Entry>
</Column>
</Row>
</>
Expand Down
26 changes: 17 additions & 9 deletions src/components/home/HomeRules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,23 @@ export default function HomeRules(props: { theme: CardColor }) {
<Column>
<Entry
title="random cards"
text="The deck is ordered or not ordered according to how the cards were previously played."
text="Cards drawn, given, etc. are taken from a random position in the stack."
>
<div className="h-52">
<CardBack />
</div>
</Entry>
<Entry
title="unlimited cards"
text="There is no cards deck. Every card drawn, given, etc. is purely random."
>
<div className="h-52">
<CardBack />
</div>
</Entry>
<Entry
title="short match"
text="The game ends when the first player plays all his cards."
text="The game ends when the first player has played out all their cards."
>
<CardFront
card={{
Expand All @@ -30,8 +38,8 @@ export default function HomeRules(props: { theme: CardColor }) {
/>
</Entry>
<Entry
title="to good to go"
text="If you draw a matching card you can play it instantly or hold it."
title="holding"
text="If you draw a matching card you choose to play it instantly or hold onto it."
>
<CardFront
card={{
Expand All @@ -42,7 +50,7 @@ export default function HomeRules(props: { theme: CardColor }) {
</Entry>
<Entry
title="million cards"
text="You can draw as long cards as you didn´t got a matching one."
text="You need to draw until you get a matching card."
>
<div className="h-52">
<CardBack />
Expand All @@ -52,7 +60,7 @@ export default function HomeRules(props: { theme: CardColor }) {
<Column>
<Entry
title="stacks"
text="Draw-2-cards and draw-4-cards are stackable, that the next player needs to draw 2, 3, 4, … times as much cards."
text="Draw-2 cards and draw-4 cards are stackable."
>
<CardFront
card={{
Expand All @@ -63,7 +71,7 @@ export default function HomeRules(props: { theme: CardColor }) {
</Entry>
<Entry
title="magic 7"
text="If a 7 is played, the player can choose one opponent to switch cards with."
text="If a 7 is played, the player can choose one opponent to swap cards with."
>
<CardFront
card={{
Expand All @@ -73,8 +81,8 @@ export default function HomeRules(props: { theme: CardColor }) {
/>
</Entry>
<Entry
title="fast, faster, next one"
text="If a card is played and a player has the identical card, the player can play the identical card instantly and from him the game continues."
title="throwing"
text="If a card is played and a player has the identical card, they may choose to throw it in, even if it isn't their turn. The game will then continue from the player after them."
>
<div className="z-10">
<CardFront
Expand Down

0 comments on commit b72c97e

Please sign in to comment.