Hacker News new | ask | show | jobs
by splonk 61 days ago
It's interesting that the page actually uses minimax to determine black's play. I kind of assumed it would be a simple lookup table given the small state space of the game. I suppose it makes it easier to add more variants.
1 comments

It clearly doesn't use minimax, since it doesn't play the best move for black in the critical line, leading to a mate in 5 instead if a mate in 6.

Best line is N4 N5, Nx6+ K7, R4 N3+!, K2 N5, N8! Kx8, Rx5#. The site has black instead play Kx6 on the third move, allowing a faster mate.