Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is this Xboard code wrong??

Author: Aivaras Juzvikas

Date: 07:28:42 03/20/04

Go up one level in this thread


heres what i do:
                if (!strcmp(s, "white")) {
		    continue;
        }
		if (!strcmp(s, "black")) {
		    continue;
        }
		if (!strcmp(s, "force")) {
			both = FALSE;
			computer_side = NONE;
		    continue;
        }
		if (!strcmp(s, "go")) {
			computer_side = side;
		    continue;
        }
(awful paste)

by default before u are able to use these, new cmd sets:
side = WHITE
computer_side = BLACK



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.