Jump to content
IGNORED

Need Help with Maze Generation


Erik Zimmermann

Recommended Posts

Hello,

 

i would like make a game with random Maze like Maze Craze.

On the website https://rosettacode.org/wiki/Maze_generation or https://medium.com/codex/random-maze-from-entombed-8bb3b34e8f9b
you can find some information about the calculation. It's a bit too complicated for me to implement this on batari. 

Who can help us to implement an example in Batari. The implementation then serves as a template for everyone.

The solutions are 40 years old.

 



Bye
Erik

Edited by Erik Zimmermann
Link to comment
Share on other sites

I started to implement what you asked for, but it's really buggy and doesn't work yet, which I'm sure at least partially is because of the terribly wrong way I was doing the bitmasking and limits. I attached a screenshot of example output. Let me know if anyone has suggestions or would like to hack on it some. I'll look at it more later.

 

 

buggy_maze2_output.png

maze2.bas maze2.bas.bin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...