Re:500,000 clones get you out of a 10x10 maze
by dxbydt on Thursday December 13, 2012 @05:29PM
(#4918504)
adding barriers to make a room into a maze is trivial. So if you were forking my scala code, you see 4 filters -
Now if you add 1 more filter, literally 1 more line of code, to eliminate paths that are prohibited because they intersect with a barrier, you are good to go.
a room is simply a maze with zero barriers.
[ Parent
| on HN ]
There are no comments on this comment yet.