Thanks for being so friendly on this community! I think I'm almost done my maze. I have a file called MazeRunner with preprogrammed mazes another file called MazeUtils that allows the user to choose and play a maze, by moving an "o" through "x's" that represent walls. I'm experiencing one last issue, though. Upon entering a direction for the "o" to move, I get an error that reads: 'Exception in thread "main" java.lang.NullPointerException .' The error points to the part of code for each direction that says:
System.out.println("There's a wall here!");
For example, if I type in "u" to go up, the error will point to line 90 in MazeUtils.
Can anybody help me figure out what is wrong with the math here? I'm not sure what's causing the issue. Thank you very much for the help!
Here's the MazeRunner file: