These log messages the console to say that a particular function has been invoked, so we
can see where the program is at in its runtime. There will be no impact on the player,
though, as we're just using the console.
Try playing the game with the console open in the browser. You should see the messages
logged in the console as the program runs, as in the screenshot shown in Figure 10.9 .
Figure 10.9. Logging messages to the console
Search WWH ::