Author: Pete Galati
Date: 20:32:33 12/29/99
Go up one level in this thread
On December 29, 1999 at 18:10:19, Fernando Villegas wrote:
>People here in the university is very happy because of the warm reception of you
>guys for Moron 1,0. And they are prepared to accept sugestions. Yes, Dgeordge, a
>beta version will be send to your mother in law, asap. Tell her not to send it
>to anybody else. This is science, not fun. Respect Wav files, we are thinking in
>something like Perry Como singing 30's vintage tunes. Somebody thought about a
>beginner function in order to satisfy those of you too much defeated by this
>monster. A big database provided by me with stupid loses thorught 20 years of
>persevering in chess idiocy will be made available, just in case. In fact, every
>effort to satisfy people almost so good at chess like me will be made.
>It is not neccesary to download it. You can get a reasonable imitation or clone
>"a la Crafty" if you take any of your current programs, disable the book, limit
>him to 1 ply search, give him one second for the full game, activate the
>beginner functions if any and let it run in a 8088. Then you have a stronger
>simil of me and so also one of Moron without expending time in internet.
>fernando, the model.
I made some minor modifications to TSCP that dumbs it down quite a bit. I threw
away the "skill" command, and in the "think" function in search.c I resticted
the search to 1 ply by replacing the word "skill" with "1".
Then in eval.c I reduced the sizes of the bonuses and penaltys like this:
#define DOUBLED_PAWN_PENALTY 6 // was 10
#define ISOLATED_PAWN_PENALTY 10 // was 20
#define BACKWARDS_PAWN_PENALTY 8
#define PASSED_PAWN_BONUS 20
#define ROOK_SEMI_OPEN_FILE_BONUS 6 // was 10
#define ROOK_OPEN_FILE_BONUS 3 // was 5
#define ROOK_ON_SEVENTH_BONUS 6 // was 20
then in the arrays I reduced the values in the center of the board in the Knight
and Bishop arrays, here's an example of the changes to the knight:
was:
int knight_pcsq[64] = {
-10, -10, -10, -10, -10, -10, -10, -10,
-10, 0, 0, 0, 0, 0, 0, -10,
-10, 0, 5, 5, 5, 5, 0, -10,
-10, 0, 5, 10, 10, 5, 0, -10,
-10, 0, 5, 10, 10, 5, 0, -10,
-10, 0, 5, 5, 5, 5, 0, -10,
-10, 0, 0, 0, 0, 0, 0, -10,
-10, -30, -10, -10, -10, -10, -30, -10
and now is:
int knight_pcsq[64] = {
-10, -10, -10, -10, -10, -10, -10, -10,
-10, 0, 0, 0, 0, 0, 0, -10,
5, 0, 5, 5, 5, 5, 0, 5,
-10, 0, 5, 5, 5, 5, 0, -10,
-10, 0, 5, 5, 5, 5, 0, -10,
5, 0, 5, 5, 5, 5, 0, 5,
-10, 0, 0, 0, 0, 0, 0, -10,
-10, -30, -10, -10, -10, -10, -30, -10
The Bishop arrays are somewhat like that, the forth & fifth ranks were just
copied from the knight's array.
There's more things you can do to make TSCP play Chess with a hangover, but I
have not looked at it _that_ closely. This without a doubt makes TSCP play
worse, but it can still embarrass me when I'n not careful. It compiles and runs
ok for Winboard with DJGPP.
Pete
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.