Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Modification to let crafty play Wild 5

Author: Robert Hyatt

Date: 15:45:58 07/16/00

Go up one level in this thread


On July 16, 2000 at 13:54:34, Michel Langeveld wrote:

>I already registered a new Crafty on ICC called Wild5Crafty.
>It hasn't lost yet :-P. But not too many games where played against it.
>


I posted this response on the crafty mailing list, but it bears repeating
again.  Crafty has _always_ been able to play wild 5 on a chess server.  Xboard
or winboard use the "edit" command to correctly set the starting position.
The patch given here is only useful if the operator wants to play crafty a
wild 5 game in 'text console mode'.





>Kind regards,
>
>Michel Langeveld
>
> ----------------------------------------------------------
>|                                                          |
>|   "wild" command sets up an ICS wild position (only 7 at |
>|   present, but any can be added easily, except for those |
>|   that Crafty simply can't play (two kings, invisible    |
>|   pieces, etc.)                                          |
>|                                                          |
> ----------------------------------------------------------
>*/
>  else if (OptionMatch("wild",*args)) {
>    int i;
>
>    if (nargs < 2) {
>      printf("usage:  wild <value>\n");
>      return(1);
>    }
>    i=atoi(args[1]);
>    switch (i) {
>    case 5:
>      strcpy(buffer,"setboard RNBKQBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbkqbnr w");
>      (void) Option(tree);
>      break;
>    case 7:
>      strcpy(buffer,"setboard 4k/5ppp/////PPP/3K/ w");
>      (void) Option(tree);
>      break;
>    default:
>      printf("sorry, only wild5 and wild7 implemented at present\n");
>      break;
>    }
>  }



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.