Skip to content

Commit

Permalink
Syntax problem
Browse files Browse the repository at this point in the history
  • Loading branch information
lawsie committed Nov 14, 2024
1 parent 0325cac commit 9e8ea52
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions en/step_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

Currently, the obstacle disappears off the bottom of the screen, because its `obstacle_y` position becomes larger than the screen size.

--- task ---

Use the modulo (%) operator to divide the y position by the screen size and give you the **remainder**. This makes the obstacle reappear at the top!

--- code ---
Expand Down

0 comments on commit 9e8ea52

Please sign in to comment.