QB64.org Forum
Active Forums => Programs => Topic started by: Dav on January 15, 2020, 10:59:55 pm
-
Started working with QB64 again today. Ported an old game I made using another BASIC on my iPad. It's a Maze puzzler. You click on the tiles to rotate them, connecting the lines. They turn green when connected. Object is to connect the whole maze, turning the whole board green.
- Dav
[ This attachment cannot be displayed inline in 'Print Page' view ]
[ This attachment cannot be displayed inline in 'Print Page' view ]
-
That looks really cool, Dav! Will try it soon.
-
That's like the Rubik's Cube of mazes. A-maze-ing!
Pete
-
A+ thanks!
Have you considered an AI to solve a puzzle or determine if solvable?
-
Thanks everyone.
Bplus: The mazes are pre designed solvable, the game randomly rotates the tiles when loading each level. I have code to generate valid mazes, and also made a design program to hand design levels and save the basic code.
- Dav
-
Thanks everyone.
Bplus: The mazes are pre designed solvable, the game randomly rotates the tiles when loading each level. I have code to generate valid mazes, and also made a design program to hand design levels and save the basic code.
- Dav
I figured that was a given. Make a maze creator, and then apply a random block rotation function. I learned that the hard way, when I got fired from my decal job at the Rubik's Cube factory. If only I knew it was easier to glue all the same colors on the same sides first, and then mix up the cube. Sigh... Anyway, that gave me the idea of a playing variant, where the player gets to see the maze, and then gets to witness the slowed downed block rotation process, and now has to try to remember, as best he can, to remake the maze.
I did wonder if there is only one unique solution. I mean is it possible, the various patterns could allow for a different connected outcome?
Pete
-
That's a good idea, Pete. I may have to add it!
Yes, there can be other outcomes other than the original pattern, just as long as every tile is connected the level will pass.
- Dav
-
Started working on this maze puzzle again today.
Updated the tile graphics to give a little more character, a game icon, added a few sound effects, added some keyboard commands to navigate to the levels and reset level. Planning to putting in a save game progress, and a menu screen.
Here's the latest version: [ This attachment cannot be displayed inline in 'Print Page' view ]
- Dav
[ This attachment cannot be displayed inline in 'Print Page' view ]
-
Thanks Dav, I've had fun with previous version look forward to checking this out. :)
-
is it me or is level 11 impossible.... :)
-
Hi @AndytheClown . It's not you...it IS impossible. Looks like I made a typo on that level. One more square was supposed to be a black square, the red highlighted square in this picture is where the mistake is - it should be a black box. I'll fix this bug on the next update.
Thanks for playing the puzzle. And a thousand pardons for the mistake...
- Dav
-
I’ve changed it in mine for ‘bm’
All good now :) it’s a great game