How do I make gnuchess really really dumb?

Discussion of chess software programming and technical issues.

Moderator: Ras

CThinker
Posts: 388
Joined: Wed Mar 08, 2006 10:08 pm

Re: How do I make gnuchess really really dumb?

Post by CThinker »

Option 1:

Remove search and eval. When asked for the move, simply generate all the legal moves and randomly pick from the list.

Option 2:

Reverse the root sort. I.e, pick the worst move.
Vinvin
Posts: 5298
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: How do I make gnuchess really really dumb?

Post by Vinvin »

Add a random value (from -2 to +2) to each root moves. Or from -5 to +5 to make it really really really dumb :-)