Hacker News new | ask | show | jobs
by kokken 946 days ago
That was an issue I encountered when writing the logic for Shogi so that I could build my own engine. Writing Python to express the logical dependencies was surprisingly unintuitive.

My original attempt was clunky and I rewrote the logic from scratch 2 or 3 times until I could bear look at the code and not wince.

1 comments

Did you publish the code somewhere?
mai-shogi in GitHub