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/enclosur…
enclose.horse
71–80 of 242 posts
Re: enclose.horse
#72Great game, I love it! I hope the author is collecting juicy analytics. They would be useful if they ever want to bundle 100 levels in order of difficulty and release this as a Steam game (which I would absolutely buy!) I don’t think the gates should animate up into the air. It breaks the visual logic of 2D for no benefit. It’s subconsciously confusing to see a gate I place in one cell move to occupy pixels in the ce…
IMO, the game is great to keep simple, but I’d like to play more levels than just daily, so could see people paying for the ability to play more, like NYT games, and could be part of a suite of game if curated daily by expert vs social curation. The blocks are small though for a small phone with big fingers. I also wonder if making it GPL and submitting to various *NIX distros would be best. Then it may need to be st…
Re: enclose.horse
#73Great game, I love it! I hope the author is collecting juicy analytics. They would be useful if they ever want to bundle 100 levels in order of difficulty and release this as a Steam game (which I would absolutely buy!) I don’t think the gates should animate up into the air. It breaks the visual logic of 2D for no benefit. It’s subconsciously confusing to see a gate I place in one cell move to occupy pixels in the ce…
> I don’t think the gates should animate up into the air. I think it should go up, otherwise it doesn't look like a wall. It would look like something the horse can step on and run over. For the water it makes sense to be flat flat and that the horse doesn't want to touch it: it is water-shy.
Re: enclose.horse
#74Re: enclose.horse
#75I 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.
Video: https://www.youtube.com/watch?v=-r6CnPzTXKE
Damn, the good old days when games didn't have loot boxes, ads, etc...
Re: enclose.horse
#76Re: enclose.horse
#77Score init should say N/EIGH instead of N/A, otherwise great.
Re: enclose.horse
#78lovely, 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/enclosur…
Re: enclose.horse
#79lovely, 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/enclosur…
You caching in memory or disk? Redis or db might survive the crashes and reduce future ones
Re: enclose.horse
#80I 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.
The site uses Answer Set Programming with the Clingo engine to compute the optimal solutions for smaller grids. Maximizing grids like this is probably NP-hard. Note that traditional SAT and SMT solvers are quite inefficient at computing flood-fills. The ASP specifications it uses to compute optimal solutions are surprisingly short and readable, and look like: #const budget=11. horse(4,4). cell(0,0). boundary(0,0). ce…
Therefore, like a good little llm bitch that I have become recently, I straight away went to chatgpt/sonnet/gemini and asked them to compile me a list of more such "whatever this is known as". And holy cow!! This is a whole new world.
My ask to HN community: any good book recommendations related to "such stuff"? Not those research kinds as I don't have enough brain cells for it. But, a little easier and practical ones?
Thanks..