Skip to content

Commit

Permalink
Fix grammar error for gameover feature
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickaod committed May 30, 2024
1 parent 43187d7 commit c0a83f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ The touch controls fat arrow points to a javascript object called changedTouches
```

- **Game Over**
The game over state is automatically triggered when the player receives X amount of damage or the game time expires. This activates the gameOver varible, which then prevents the next frame from being loaded, and the player is given an option to restart the game as seen below using the `restartGame()` function:
The game over state is automatically triggered when the player receives X amount of damage or the game time expires. This activates the gameOver varible, which then prevents the next frame from being loaded. The player is then given an option to restart the game as seen below using the `restartGame()` function:

![game over state](documentation/features/gameover-state.jpeg)

Expand Down

0 comments on commit c0a83f4

Please sign in to comment.