Maze Challenge

Published 2024-08-06


(v01 11-07-22)
TO LOAD THIS PICO-8 CART, in immediate mode, type: load #mazechallenge

VVhat's new? (11-07-22)

Hello there.

This is really more of an experiment that I think got way out of hand.

The premise is simple. With all of the tile-generating code out there, I wanted to see if it was possible to make a "maze-like" environment with no 100% straight corridors and using only 4- 8x8 tiles and placed randomly on the board. AND make it so that every point can be reached no matter the arrangement and that it is not a "cake walk" to do so - and there are no hard diagonal lines.

Run the code and navigate using the arrow keys. See if you can put the player in the top-left-hand corner of the maze.

Press ❎ to swap between showing the maze and the 4-different tiles.

Press 🅾️ key to start to fill in every point from where the player is. If your tiles are correct, every point on the map should be reached. Once complete, press CTRL+R to rerun the code.

Try it with mine and you will see it gets all of the map now.

Your mission if you choose to accept it is to load my cart in Pico-8 and take my existing tiles and modify them or completely develop your original own.

Make a tile arrangement that is both pleasing to the eye to make it "maze-like" and so that every point can be reached by pressing 🅾️.

This will require not only your programming skills and spatial knowledge but your artisan ability as well.

Also this code is free to all. CC0. Anyone can have it and use it for any reason, commercial or not. Modified or unmodified, no attribution.

When you've come up with a good arrangement, either post a new cart as a reply or paste the 4-tiles as an image directly into the code. You can do so by entering the sprite editor and using the mouse, hold down the shift key and highlight the 4-tiles. Press CTRL+C.

Then anywhere in your comment or reply, press CTRL+V to have them appear there. You can confirm this in PREVIEW. Explain how you developed your tiles and what thinking you did to do so.
Here are the 4-tiles I am using above:

[56x8]

Challenge yourself. Challenge each other. I'm very curious to see what you can come up with !

Bonus brain pick if you develop a set using more than 4 tiles.

Best of luck !