36 karma · joined Dec 12, 2022 (3y ago) · 16 submissions
comment 1y ago · link · parent
see: https://en.wikipedia.org/wiki/Linear_no-threshold_model
comment 1y ago · link · parent
Vegas has a lot to offer and the strip really dominates the perception of it which is unfortunate.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 2y ago · link · parent
The same is true for me, so I think here is a good place to plug my starcraft custom map archive website [0]. In 2020 because of the pandemic StarCraft enjoyed a surge of popularity again, I went looking for some custom maps that I remembered from the early 2000s but I couldn't find them. The existing websites at the time were not solving the problem for me so I set out to solve it myself. The website is a passion project for me, I don't want it to generate any revenue. It's been a fun ride and it's now easily the largest map archive that has ever existed. I think eventually I'll make a show HN post about it when I implement a few more cool features, but that will have to be for a later date.
comment 2y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
I can't prove it but I think this is roughly the same thing as the circuit satisfiability problem, which is np-complete. So, I think the best thing you can do there is a very large exponential time bound.
b) use a deterministic procedure to find a solution
You can solve this problem deterministically with depth first search. But I found that to be pretty slow and generate not very aesthetically interesting results most of the time.
comment 3y ago · link · parent
Unfortunately I could never really get it to be fast enough. There are an enormous number of tiles in StarCraft, 15,000+ for some tilesets, and people want to generate maps of up to 256x256 tiles. This is a huge state space and under these conditions the algorithm very often gets stuck in a local minima. I've tried so many different heuristics to get it to work but it doesn't work reliably enough to be a truly useful tool in this situation unfortunately.
There are many explanations out there about how this algorithm works, more so than many other algorithms. I think the reason for that is because from hearing the basic high level idea of this algorithm most people are able to then go and implement it and then that makes for an interesting blog post (I could do the same after implementing, I think). What almost all of these blog posts are missing is how to make it fast, and how to implement back tracking efficiently. I had to try a lot of things to get to where I am now and I don't feel like I've fully explored the space of possible implementations despite trying a lot of different approaches.
Here are some example generated maps: https://media.discordapp.net/attachments/583406212272619571/... https://i.imgur.com/LK5a6jU.jpg https://cdn.discordapp.com/attachments/583406212272619571/10... https://cdn.discordapp.com/attachments/583406212272619571/99... https://cdn.discordapp.com/attachments/583406212272619571/99...