While you're creating your project, one of the things that can be valuable to know is how to give yourself information while the game is going on. This way, you can check the order of the things being called and/or what values data have.
Since it was first written 40 years ago, it has been a tradition for beginning programmers to write a function that displays "Hello World!" on the screen. Let's do that now!
Before we start working on this we need to have a project created and set up. So, follow the previous recipe all the way to completion.
In this recipe, we will extend and customize the built-in
GameMode class to do just that: