Author: h.g.muller
Date: 01:05:37 02/10/06
Go up one level in this thread
Now that I've written my 2KB chess code micro-Max, I think it would be easy. I did not time how long it took me to get the first minimax version to run properly, it might have taken me more than 2 hours. I would still go for a full minimax implementation: to see if after your move you can capture his king, and if he can get away requires you to run the move generator for 3 different positions anyway, and the easiest way to do that is in negamax version. I guess for mate-in-one you could drop alpha-beta, which makes everything much less error prone. I never use a debugger, just strategically placed (conditional) print statements. But of course you had only 30 minutes per problem... That seems a real challenge!
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.