This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for The Maze Factory

Return to The Maze Factory

RazzoRazzo

2012/4/9

Thanks again!
A new version of this scenario was uploaded on Mon Apr 09 02:03:23 UTC 2012 Minor adjustment.
danpostdanpost

2012/4/9

@Razzo, let me know what you think.
RazzoRazzo

2012/4/9

It's really nice, Still looking how it works.. Also would you mind letting me add the generation into my game (RPG) I'll let you have credits if you want.
danpostdanpost

2012/4/9

Sure, no problem. But, I do not REQUIRE (as in demand) credits. Do, at least, check out some of my other scenarios. BTW, for a thrill, before running, remove the top object and watch it actually create a maze.
RazzoRazzo

2012/4/9

Wow, reading though the code, and well. It's very interesting, Before you gave me the source I looked into Maze Generating algorithms, So I can see were you got it, But to see it in code, Wow. Im trying to implement it now, But i'm having a hard time doing so! D: But still, this is amazing.
danpostdanpost

2012/4/9

Sorry to disappoint you. But, I got it from my head. I did not use any resources at all.
trash1000trash1000

2012/4/9

Nicely done! I suppose you use backtracking for the computer to solve mazes?
danpostdanpost

2012/4/9

You should be able to see what it does. The yellow dots are the squares in question, the red are squares determined as not in the correct path. It records where it has been, and when down the wrong path, will mark red (back-tracking) back to the next fork in the path; then, tries a different path.
trash1000trash1000

2012/4/9

Yeah I know how it works. Just wanted to make it sure.
RazzoRazzo

2012/4/9

danpost, I implemented the Maze Generation, (And gave you full credit) Check it out here, http://www.greenfoot.org/scenarios/4740 To get to your maze you need to find a cave ( they are under rocks) and then down the stairs inside a cave.
tylerstylers

2012/4/9

can i see the codes please.
danpostdanpost

2012/4/20

@tylers, you asked to see the codes. Well, I posted a new scenario called 'Maze Generator' with source. I hope that is sufficient. It only has the part to create the maze (but in multiple ways). It does not, however, have the player or the maze solving algorithm (or the timers; or muliple sizes).
kristinsparkleskristinsparkles

2012/11/16

this is the coolest thing ever!!!
benesstobenessto

2012/11/18

Very good work. Impressive. Keep it up!
laziaflaziaf

2013/3/12

@danpost, how to make time like your (player time)
chantal27chantal27

2013/3/18

hello..can i ask a favor? can you pls. help me?
danpostdanpost

2013/3/18

@chantal27, how can I help?
chantal27chantal27

2013/3/18

uhhmm..we have project in our programming class,our teacher told us if we can ask one of the popular game users to let us see and copy the codes of any of the games and try it.the maze code and the sudoku or any games available. tnx.. pls. pls. pls. hehhe..i'll give u credit because of it..thanks
danpostdanpost

2013/3/18

The code to my Maze Generator scenario is open source and well documented. Maybe that can help you out.
chantal27chantal27

2013/3/18

oh..ok. thanks..
..its awesome..=)))
HaX101HaX101

2013/6/5

nice job
Entity1037Entity1037

2013/7/26

None of the keys seem to work.
danpostdanpost

2013/7/26

@Entity1037, I am not having any problems with any of the keys Also, I have to updated this in quite some time and nobody else has seemed to have any problems, either.
danpostdanpost

2013/7/26

Sorry, the words 'I have to updated' in the previous comment should be 'I have not updated'.
Entity1037Entity1037

2013/7/26

Well for some reason, all of the keys are non-responsive when I play the scenario.
Entity1037Entity1037

2013/7/26

Wait, closing and opening my browser seemed to fix it; nevermind... I should probably get my system checked...
ksksksksksks

2013/9/10

that's cool. I like the ability to add color. How did you write code for a timer?
danpostdanpost

2013/9/10

@ksksks, I started a discussion called "On 'The Maze Factory' by danpost" to show the Timer class code. It is located at: http://www.greenfoot.org/topics/4431
EmilyC26EmilyC26

2013/11/25

I can't seem to get the L key and the S keys to work....
danpostdanpost

2013/11/25

@EmilyC26, try re-loading it (it works for me). If that does not help, I do not know what to suggest (I doubt it is a coding problem).
EmilyC26EmilyC26

2013/11/25

@danpost, thanks that helped. Awesome game by the way. :)
danpostdanpost

2013/11/25

@EmilyC26, thank you. Glad you like it.
UNDEAD_DCUNDEAD_DC

2014/1/6

I really like it but how can u ever beat the computer with largest lvl took me 45sec while i knew the way after a couple of resets and computer needed 5.7sec
danpostdanpost

2014/1/6

@UNDEAD_DC, the system does not take the same paths in the same order when solving the maze. Sometimes it will find the correct path very quickly; other times it takes a bit longer. Under the right circumstances, you can beat the system on the largest levels. You may have to do a bit better than 45 seconds, however. I think the longest the system will take on the largest level is about 35 to 36 seconds.
UNDEAD_DCUNDEAD_DC

2014/1/6

@danpost what i wanted to say is that the computer dot moves so much faster than the player. Is it possible that the speed of the computer solves the maze depends on how fast your computer is?
ravindrapawarravindrapawar

2014/8/10

danpost i want to meet u on skype..
KalleLarssonKalleLarsson

2014/8/12

Cool, but the competition would be more fare if the number of steps walked also came into account when solving the puzzle since the computer can brute force so quickly :) hehe
csr1010csr1010

2014/11/19

@KalleLarson Agreed!, but it is possible to beat on the largest level. i completed it in 21.5 and the comp did it in 30.7, but it covered 3/4 of the maze. lol
Chilli_BChilli_B

2015/4/29

cn you please Make source available on this game for me please
A new version of this scenario was uploaded on 2015-06-16 04:59:28 UTC
A new version of this scenario was uploaded on 2015-06-20 04:16:44 UTC
bilibullbilibull

2015/12/15

I would also love to be able to view the source code of this scenario. It will help me quite a bit when it comes to leaning on how to create walls or blocks that will well... block your actors path. Since I am currently not having the best of luck finding the best way of implementing such a features.
danpostdanpost

2015/12/15

@bilibull, this uses gridded world (cell sizes larger than one). Also, there are no walls here -- just blocks that are used to build the paths (players must remain on the block roads).
bilibullbilibull

2015/12/15

Ah, I see... Oh well back to searching for a better way to create unmovable or possible walk through them. Thank you regardless.
Heet_PatelHeet_Patel

2018/1/30

@danpost i cant play this game so could i have some kind of way to download it and then play.
A new version of this scenario was uploaded on 2018-01-30 19:52:07 UTC
danpostdanpost

2018/1/30

Now updated for HTML5.
JadeGoodyJadeGoody

2018/4/26

Game is broke. I am absolutely devastated