dyigitpolat
Re:enclose.horse
on Saturday January 10, 2026 @04:55PM (#46570304)
it was very easy to support the portal mechanism when the entire problem is mapped as a network flow optimization. i could just simply add the portal coordinates together with the neighbors.
Re:enclose.horse
on Thursday January 08, 2026 @03:00PM (#46545689)
Re:Enclose.horse Solver
on Wednesday January 07, 2026 @02:56AM (#46523752)
just vibe-coded an optimizer for the game enclose.horse that takes in the screenshot of the grid and the number of walls as input, and spits out the optimal wall configuration (supports cherries too!)
algorithm:
1. infer grid dimensions
2. color histogram analysis to designate grasses, water, cherries and horse
3.0. register game mechanics as optimization constraints (cannot place on cherries, cannot move over walls and waters etc.)
3.1. apply mixed-integer linear programming to determine optimized wall placements
4. profit!
Re:enclose.horse
on Tuesday January 06, 2026 @08:57PM (#46521574)
just vibe-coded an optimizer for this game that takes in the screenshot of the grid and the number of walls as input, and spits out the optimal wall configuration (supports cherries too!)
algorithm:
1. infer grid dimensions
2. color histogram analysis to designate grasses, water, cherries and horse
3. apply mixed-integer linear programming to determine optimized wall placements
4. profit!