Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update instructions.md #1530

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions exercises/concept/high-score/.docs/instructions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Instructions

In this exercise, you're implementing a way to keep track of the high scores for the most popular game in your local arcade hall.
In this exercise, you're implementing a way to keep track of the high scores for the most popular game in your local arcade hall. Note: Store a reset value (value to reset to) as an attribute and use in your functions where sensible (at least in the reset_score() function).

## 1. Define a new high score map

Expand All @@ -19,7 +19,6 @@ To add a player to the high score map, define `HighScore.add_player/3`, which is
- The second argument is the name of a player as a string.
- The third argument is the score as an integer. The argument is optional, implement the third argument with a default value of 0.

Store the default initial score in a module attribute. It will be needed again.

```elixir
score_map = HighScore.new()
Expand Down