News for hackers. Stuff that matters.
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.
Re:Full Chess Game with AI in 5k of Javascript by nitam on Sunday January 06, 2008 @06:23AM (#95291)
I like the idea but it has some problems. I played 2 games and in both of them it left pieces undefended. And when delivered checkmate he ate my defended queen with king :)