News for hackers. Stuff that matters.
Re:Ask HN: Gin Rummy Strategies by sillysaurusx on Friday June 05, 2026 @01:45AM (#48408438)
You could apply the AlphaZero algorithm. There are various GitHub repos designed to play games. One of them was connect four, and the model quickly surpassed my skill.

On the other hand that might not work for poker or other information hiding games. (Chess, checkers, and connect four have no hidden info.) I seem to remember an algorithm that can handle this case, but I forgot the name. You’d have to research it.

There are no comments on this comment yet.