Erik Zimmermann Posted April 29, 2022 Share Posted April 29, 2022 (edited) 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 April 29, 2022 by Erik Zimmermann Quote Link to comment Share on other sites More sharing options...
+Atarius Maximus Posted May 4, 2022 Share Posted May 4, 2022 I posted a random maze generator back in 2017 that might be helpful for you. 2 Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted May 4, 2022 Share Posted May 4, 2022 Here's one also I just made up, if it helps for ideas. You can use the joystick to recreate the maze and its color. As-is, the score doesn't mean much. maze_1.0.bas maze_1.0.bas.bin 1 Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted May 4, 2022 Share Posted May 4, 2022 I just found this article on Entombed for the 2600 which was cool: https://www.bbc.com/future/article/20190919-the-maze-puzzle-hidden-within-an-early-video-game Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted May 4, 2022 Share Posted May 4, 2022 Some other links- not totally related, but for reference: I'm sure there's a treasure trove of info out there that could help. Quote Link to comment Share on other sites More sharing options...
Erik Zimmermann Posted May 5, 2022 Author Share Posted May 5, 2022 thanks Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted May 9, 2022 Share Posted May 9, 2022 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. maze2.bas maze2.bas.bin Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted May 9, 2022 Share Posted May 9, 2022 (edited) Ok, I had reused some vars, etc., so I fixed a few things, but it's still buggy. Will keep working on it. maze2b.bas maze2b.bas.bin Edited May 9, 2022 by Fort Apocalypse Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted May 9, 2022 Share Posted May 9, 2022 (edited) Added sound during attempted maze generation and maybe made a few fixes. Will work on it more later. maze2c.bas maze2c.bas.bin Edited May 10, 2022 by Fort Apocalypse Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted May 13, 2022 Share Posted May 13, 2022 More progress, but still not close. maze2d.bas maze2d.bas.bin Quote Link to comment Share on other sites More sharing options...
Fort Apocalypse Posted May 13, 2022 Share Posted May 13, 2022 Still not working, and looks about the same, but I added code to do backtracking and to check for done, and also added some pfcolor debugging. maze2e.bas maze2e.bas.bin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.