Log In  

Cart #mazechallenge-1 | 2022-11-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
4

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

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

  1. Fixed blocks so no part of map is missed now. (Please confirm this !)
  2. Pressing ❎ now has 3-modes. 1, 2, and 3.
  3. Made maze darker so it is easier to see the player.
  4. 3rd mode after fill now shows path as darker color of the blocks.
  5. Greatly sped up fill routine.
  6. Added notice on end on how to restart.
  7. Shrank code size slightly.

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.

  1. Dark blue.
  2. Dark red.
  3. Dark green.
  4. Brown

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 !

P#120238 2022-11-07 01:07 ( Edited 2022-11-07 19:07)

Not that bad, if you want to play some timekiller, you found it, challeging a bit, when i mean a bit, i meant a bit, about 3 mins used for completing level 3
Edit: i mean not level, mode, srry

P#123751 2023-01-05 17:38 ( Edited 2023-01-05 17:41)

Hi @JBotReality.

Wow ! You solved it with the color turned on. My brain can't figure out of a maze if the walls keep changing colors. Well done.

Of course the real mental challenge here is to develop your own maze blocks and see if you can make it challenging for a player to solve yet simple for a computer to build. :)

P#123765 2023-01-05 19:42

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 13:19:47 | 0.034s | Q:16