Live data from Hacker News

enclose.horse

enclose.horse

31–40 of 242 posts

Re: enclose.horse

#31

I am curious on how you would algorithmically find the optimal solution for this kind of problem for much bigger grids. I wanted to do some seed finding in Factorio for the same exact problem using the generated map images, but never found a good solution that was fast enough.

I think it's NP hard, maybe from Sparsest Cut. But you could probably find the min-cut and then iterate by adding capacity on edges in the min cut until you find a cut of the right size. (if the desired cut-size is close to the min cut size at least).

Re: enclose.horse

#33

I did Day 8 - I don't know if Perfect means I got the most optimal score, I do show up at the top of the graph. https://enclose.horse Day 8 PERFECT! 100%

If you click on "View Optimal", it shows you the optimal solution which should be identical[0] to yours for "Perfect". [0] I'm assuming, possibly quite wrongly, that there's only one optimal solution per day.

I don’t see any View Optimal button. Is it present in Mobile ?

Re: enclose.horse

#34

Earlier quoted context omitted.

I disagree about the replayability aspect. It‘s a daily challenge, so come back tomorrow. I quite like it.

I seriously don't get the idea behind daily challenges unless you want to keep users hooked to extract some value from them, but that doesn't seem to be the case here, as there are no ads. Just show all the different levels at once.

I assume that "all the different levels" might not exist yet. The author is probably creating them a bit in advance, and will keep going as long as they're motivated. Having a regular schedule for new releases helps, and doing it daily seems as sensible as any other schedule.

Re: enclose.horse

#35

Earlier quoted context omitted.

If you click on "View Optimal", it shows you the optimal solution which should be identical[0] to yours for "Perfect". [0] I'm assuming, possibly quite wrongly, that there's only one optimal solution per day.

I don’t see any View Optimal button. Is it present in Mobile ?

I don't see this button either (desktop) but searching the HTML gives a that says

  window.__LEVEL__ = null; window.__DAILY_MODE__ = true; window.__DAILY_LEVELS__ = [{"id":"FswXDo","date":"2026-01-06","dayNumber":8,"optimalScore":86},{"id":"6UV4Yw","date":"2026-01-05","dayNumber":7,"optimalScore":95},{"id":"VfWi_1","date":"2026-01-04","dayNumber":6,"optimalScore":77},{"id":"CNtGPI","date":"2026-01-03","dayNumber":5,"optimalScore":116},{"id":"tnLvlG","date":"2026-01-02","dayNumber":4,"optimalScore":51},{"id":"Qn9vLs","date":"2026-01-01","dayNumber":3,"optimalScore":74},{"id":"Kj7mXp","date":"2025-12-31","dayNumber":2,"optimalScore":90},{"id":"E03KkY","date":"2025-12-30","dayNumber":1,"optimalScore":68}];
EDIT: the view optimal button appears after submission

Re: enclose.horse

#36

I am curious on how you would algorithmically find the optimal solution for this kind of problem for much bigger grids. I wanted to do some seed finding in Factorio for the same exact problem using the generated map images, but never found a good solution that was fast enough.

[deleted]

Re: enclose.horse

#37

Cool game, but I don't like how you get only one chance. Even returning to the page, you can't try again to beat your previous score. No replayability value at all.

You can just remove/change walls after having placed all. You see your current score, but can keep iterating.

Re: enclose.horse

#38
post #8

I expected the horse to move one tile for each block you placed. I had an elaborate plan to lure it towards one exit and then close it at the last minute... Nope!

I did see a game recently which did that (you place a tile, the animal moves a tile, etc.) - possibly on itch.io. I'll see if I can dig it out.

I remember a game I played on my phone ~15 years ago called "Greedy Spiders". The spiders would move greedily towards something every move, but you could cut strings in their web so they would have to start a new route. So you would kinda have to lure them into going one direction while slowly chipping away at the web, until you could completely cut them off or force them to have to take a longer detour giving you more time to cut more of the web. Quite challenging after a while.

Re: enclose.horse

#39

Earlier quoted context omitted.

That's fine. So these kind of games aren't for you, then. Remember crosswords in newspapers? Yeah, think of it like that. You don't get hooked until you cannot let go, you get a limited chunk served each day. Same with Wordle.

I remember buying a magazine full of crosswords and similar puzzles when I was in the mood. And when there were sites with unlimited Wordle, I played a few in a row. On the internet, unlike with newspapers, you're not limited to how many levels/games you can make per day. Making it once per day doesn't make any sense whatsoever. It's condescending to the users and feels like a power trip.

so don’t? others have said they like it, you don’t, move on

Re: enclose.horse

#40
post #8

I expected the horse to move one tile for each block you placed. I had an elaborate plan to lure it towards one exit and then close it at the last minute... Nope!

I did see a game recently which did that (you place a tile, the animal moves a tile, etc.) - possibly on itch.io. I'll see if I can dig it out.

There's an old Flash game called 'Chat Noir' where you have to trap a cat on a hexagonal grid. Here's a copy of it: https://www.hoodamath.com/games/chatnoir.html
Post reply on HN