I changed a couple of things from what was submitted. I changes the movement keys to the classic game keys WSAD and made the board bigger (10 by 10).
The concept is the same. Generate a random number of holes based on a difficulty modifier and place the hat randomly on the playing field and doesn’t land on a hole.
The representation is quite basic. Simply ‘*’ for the character, ‘0’ for holes and ‘^’ for the hat. Previously I used VSCode as my Integrated Development Environment (IDE), now using IntelliJ Ultimate for development.