logoalt Hacker News

langaruslast Tuesday at 11:48 AM3 repliesview on HN

lovely, I've created a solution finder for it.

1. Do a screenshot of the grid (try to include walls as well)

2. Open https://enclosure-horse-solution.onrender.com/

3. Make sure the number of walls are correct in the input (bottom left)

4. Press "Solve"

PS: It might crash as it's on the free version of render. I've added a caching layer.

Here's the github so you can run it locally:

https://github.com/langarus/enclosure.horse-solution

clone it and run

make init // make web


Replies

g4zjlast Tuesday at 2:20 PM

There is a level editor with the ability to show the optimal result for a custom level. In theory, one could recreate any official level and reveal the best solution that way. However, I haven't tried this to verify any intentional roadblocks by the developer.

ronbentonlast Tuesday at 12:36 PM

You caching in memory or disk? Redis or db might survive the crashes and reduce future ones

show 1 reply
langaruslast Tuesday at 11:59 AM

I see some of you are already crashing the server. :melting: try to run it locally if you can't get the result via render