Skip to content

Commit 4fc2704

Browse files
deisnermarijnh
authored andcommitted
Update 16_game.md
Update exercise 16.2 to refer to `arrowKeys` global binding, not `arrows` (as in previous edition).
1 parent c3666b4 commit 4fc2704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

16_game.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ it.
13051305

13061306
When you have that working, there is something else you could try. The
13071307
way we have been registering keyboard event handlers is somewhat
1308-
problematic. The `arrows` object is currently a global binding, and
1308+
problematic. The `arrowKeys` object is currently a global binding, and
13091309
its event handlers are kept around even when no game is running. You
13101310
could say they _((leak))_ out of our system. Extend `trackKeys` to
13111311
provide a way to unregister its handlers and then change `runLevel`

0 commit comments

Comments
 (0)