Skip to content

Commit 9b87d90

Browse files
author
Ben
committed
Add a helpful note for a common mistake
1 parent 308f5ff commit 9b87d90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sites/en/javascript-snake-game/lesson-13.step

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ markdown <<-MARKDOWN
3939
```
4040

4141
Notice, we've abstracted out the `ate` function by resuing it. It can now determine if the snake ate itself, an apple or the wall.
42+
43+
If your snake no longer moves after this step, make sure that you assigned `snake = newSnake` in the `advanceGame` function.
4244
MARKDOWN
4345

4446
js_expected_results 'lesson-13'

0 commit comments

Comments
 (0)