Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nikumu authored Oct 17, 2024
1 parent 471f8f0 commit 7dc9816
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

Game based on a guessing system, where the player has a limited number of attempts to guess a random number. Each incorrect attempt 'eliminates' a brain cell, and the player loses when all brain cells are depleted.

## Explanation:
## Explanation

### 1. Difficulty levels:
### Difficulty levels

* The player can choose between three levels:

Expand All @@ -19,18 +19,29 @@ Game based on a guessing system, where the player has a limited number of attemp
* Hard: Number between 1 and 50, 3 attempts.
* The selected difficulty level defines the range of the number to guess and the number of available attempts.

### 2. Scoring system:
### Scoring system

* The score is calculated based on the remaining attempts. The more brain cells (attempts) the player has left at the end, the higher the score.
* Formula: (remaining attempts * 50) / initial attempts.

With these changes, the game offers a greater challenge and encourages the player to maintain as many "brain cells" as possible to achieve a high score!

### To compile the C++ code:
### To compile the C++ code
```
g++ the-final-brain-cell.cpp -o the-final-brain-cell
```
### To run the compiled program:
### To run the compiled program
```
./the-final-brain-cell
```
<br>

### Example

<p align="center">
<a href="">
<img alt="Logo" src="Screenshot.png" min-width="600px" max-width="600px" width="600px" align="center">
</a>
</p>


0 comments on commit 7dc9816

Please sign in to comment.