Browse Search Popular Register Upload Rules User list Login:
Search:
Maze generator

Image:
no image found for this scene

Author: tatt61880

Group: Default

Filesize: 7.61 kB

Date added: 2012-04-11

Rating: 6.1

Downloads: 866

Views: 555

Comments: 3

Ratings: 3

Times favored: 1

Made with: Phun

Tags:

Scene tag

This scene includes Thyme script which generates a maze randomly.
The script will work well with both Phun and Algodoo.

Undo and restart simulation to regenerate maze.
NOTE: Once this scene is saved, reloading scene won't regenerate maze anymore.

Large mazes can be generated with this code.
Default size is 4x4.

Changelog:

== 2012.04.17 v2.1==
* IMP: Improved randomness.

== 2012.04.14 v2.0==
* New: Added description on Box.
* New: Added triangles which indicate start and goal.
* IMP: You can set maze size via friction/restituton.
* IMP: Removed "Scene.my."-variables
* IMP: xFor-function -> xFor_improved-function.
* IMP: Reduced boxes (seamless frame).
* FIX: Improved randomness (a bit).

== 2012.04.12 ==
* First Upload
Last edited at 2012/04/16 16:15:56 by tatt61880
Please log in to rate this scene
edit
Similar scenes
Title: Maze Generator V3.0
Rating: 5
Filesize: 80.21 kB
Downloads: 469
Comments: 4
Ratings: 1
Date added: 2014/02/21 06:47:26
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Infinite Water Container
Rating: 5
Filesize: 58.22 kB
Downloads: 2627
Comments: 8
Ratings: 1
Date added: 2014/03/14 22:30:56
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Maze contest - Gravity-binded vehicle
Rating: 5.375
Filesize: 6.49 kB
Downloads: 643
Comments: 1
Ratings: 2
Date added: 2009/06/28 09:45:14
Made with: Phun
Rating: rated 5.4
download
Title: Maze game ver.1.1
Rating: 5.7778
Filesize: 80.72 kB
Downloads: 730
Comments: 6
Ratings: 3
Date added: 2009/04/04 14:31:25
Made with: Phun
Rating: rated 5.8
download
Title: Alternative tension generator
Rating: 5
Filesize: 30.81 kB
Downloads: 205
Comments: 0
Ratings: 1
Date added: 2015/03/31 18:39:18
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Maze-Race
Rating: 6.2
Filesize: 47.38 kB
Downloads: 1077
Comments: 7
Ratings: 4
Date added: 2016/09/21 15:00:12
Made with: Algodoo v2.1.0
Rating: rated 6.2
download
Responses to this scene
show list
Title: Maze Generator V3.0
Rating: 5
Filesize: 80.21 kB
Downloads: 469
Comments: 4
Ratings: 1
Date added: 2014/02/21 06:47:26
Made with: Algodoo v2.1.0
Rating: rated 5
download
This is awesome. I made a 64 X 64 maze in just a few minutes. I'm not sure what the upper limit is, but it may be limited only by memory size or how long you are willing to wait. Fantastic coding! :tup: :tup:

P.S.: I tried the following: I made a few modifications so that the maze had a hinge at it's center and could be rotated with arrow keys. I added a ball at the entrance, turned on gravity, and then solved the maze using arrow keys.
Last edited at 2012/04/14 14:39:20 by s_noonan
AMAZING!!
_o_ _o_ _o_ Excellent work! I see a few minor things that can be improved, but overall it's a great piece of programming! _o_ _o_ _o_