Re:Full Chess Game with AI in 5k of Javascript
by dfranke on Saturday January 05, 2008 @10:57PM
(#95247)
As I commented below, the source is unreadable, but I don't think it's using minimax. The algorithm simply seems to be don't leave pieces undefended and try to attack opponent's pieces. It didn't see my mate-in-two where the first move was a knight sacrifice.
[ Parent
| on HN ]