Skip to content

Commit

Permalink
fixed tiny typos at role-playing-game docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dalprahcd authored and giacomocavalieri committed Apr 3, 2024
1 parent a981483 commit ef85346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion exercises/concept/role-playing-game/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 1. Introduce yourself

- The [`option.unwrap` function][unwrap] can be used get the value from an option, or a default value if there is no value.
- The [`option.unwrap` function][unwrap] can be used to get the value from an option, or a default value if there is no value.

## 2. Implement the revive mechanic

Expand Down
2 changes: 1 addition & 1 deletion exercises/concept/role-playing-game/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If they are, it should return a new `Player` instance with 100 health.
Otherwise, if the player's character isn't dead, the `revive` function returns `None`.

If the player's level is 10 or above, they should also be revived with 100 mana.
If they player's level is below 10, their mana should be untouched.
If the player's level is below 10, their mana should be untouched.
The `revive` function should preserve the player's level.

```gleam
Expand Down

0 comments on commit ef85346

Please sign in to comment.