News for hackers. Stuff that matters.
Re:Show HN: Play Hearts – Open-source, made with Vue and web... by zeschnell on Monday April 20, 2020 @10:44PM (#22931311)
Great question--I hadn't thought of this. I've never added AI to an app, but in school I built games with computer players that use depth-first search algorithms. It was pretty straight-forward to implement, and it was trivial to determine how "hard" you wanted the computer to play (you would just choose how deep for it to search).

Let me know if you're interested in seeing this--could be a fun addition!

There are no comments on this comment yet.