Share your repls and programming experiences

← Back to all posts
Maze Navigation Game (first Java game!)
EthanCulp (38)

How to play

When you first start the game, you will have to press enter, and then you can only see the maze for 3 seconds. You better hope you got it memorized because after that, you can only see in a 3x3 area around your character

When you are done viewing the maze, you can do 1 of 4 things: move up, down, left, or right. Note that you cannot move off of the board or into walls.

Your steps are being tracked, so try your best to do the least amount of moves as you can!

What certain tiles mean

□ - This is a space where you can move
■ - This is a wall
▧ - This is your starting position
▣ - This is where the exit of the maze is (your goal to get to)
A blank space is just a space that's off the board.

More information about the game

This game uses random maze generation. The algorithm used to do so is Iterative Implementation. Not only is this my first Java game, this is my first time using random maze generation. I've tried many times before to make my own algorithms and such, but after many trials and errors, I decided to do some research and I found this algorithm.

Another thing about it is I tried many different types of tiles but just stuck with these. I know they aren't very good, but they are the best I could find. If you have any suggestions on different tiles I can use, please suggest it!

I was thinking about using replit db to store the steps and create a leaderboard feature, but I saw that it doesn't work for Java, and I don't want to bother with learning how to make http requests. If any of you would like to teach me how, just post a comment on what to do, then I'd love that!