Hacker News new | past | comments | ask | show | jobs | submit login

My ClojureScript-fu is not strong, could someone add a rule to prevent the script walk too close to already carved blocks? Edit: I mean, I've been trying add a rule so it checks the candidate blocks neighbours and couldn't. And I wanna see how it would work.



I don't know if this is what you want, but I made a version that prefers to carve out blocks with many full neighbours (and thus avoids already carved-out areas).

https://gist.github.com/Haspaker/74f124859633edeb8d04465ce00...


Yeah that's more or less what I was trying to do, thank you.


Nice!




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: