HN user

Zobody

9 karma
Posts1
Comments3
View on HN
enclose.horse 7 months ago

Constraint programming seems to be a fitting approach. Input would be number of walls, and the location of lakes. The decision variables would be the positions of walls. In order to encode the horse being enclosed, additional variables for whether horse can reach a given square can be given. Finally, constraints for reachability and that edges cannot be reached should ensure correctness.

This Is Not Word 4 years ago

Typing bunch of gibberish without spaces allows you to delete everything with Ctrl+Backspace. Satisfying!

One important suggestion I'd like to offer: prevent the site from being closed mid conversation with an alert (like, a confirmation dialog box), as sometimes a simple missclick can rudely end the conversation ;( (I'm sorry monirz)