Archive

Posts Tagged ‘random map’

Faster Random Maps

July 23rd, 2008 No comments

Fixed the infinite loop! Hah.

Random maps now generate in under 3 seconds.

01-02-03-04-05
 |     |  |
06-07-08-09-10
 |  |     |  |
11-12 13-14-15
 |  |  |  |  |
16-17-18 19-20
 |        |  |
21-22-23-24-25

Read more…

Random Map, Random Progress

July 23rd, 2008 No comments

So I got the random map algorithm working now. Not smooth yet but it generates perfect mazes at least.

I’m still working out how to save the exits. It’s either going into one field or separated into up,down,etc or by north,south,etc.

css.php