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

That’s the algorithm, sure. The tiles aren’t marching squares though, and calling them after how they were generated is confusing! If they produced rectangular or other non-square tiles would you still insist on not calling them Wang tiles?



I'm not sure what you are expecting. I'm describing the algorithm used, so yes, I used the terminology of the algorithm.

Wang tiles doesn't say anything specific about the arrangment of tiles as there are many tilesets that have the Wang Tile property.

And Diablo tiles aren't wang tiles, it would be inaccurate to describe them so. It's not to do with the shape, it's to do with connectivity. You can have a floor tile north-west of a wall tile, you can have dirt north-west of a wall, you can have floor north-west of floor, but you cannot have dirt north west of floor. Wang tiles do not permit restrictions like that.


> I'm not sure what you are expecting.

> The tiles aren’t marching squares though, and calling them after how they were generated is confusing!

I don’t understand how this could be misunderstood by someone reading in good faith. I think that, if a reader remarks “this is confusing because…”, you shouldn’t tell them they’re wrong and it’s not confusing.




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

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

Search: