Author: Odd Gunnar Malin
Date: 14:14:29 12/14/02
Go up one level in this thread
On December 13, 2002 at 13:13:54, Hans Schoorlemmer wrote: >Hi, >I am in search off a chess engine that can run as a cgi for my chess-page. I >searched the internet and found very many chess engines, it seems an endless job >to find a suitable one. i need one that: >- is written in ansi-c (so i can compile it at the server) >- is free to use >- can take from the commandline: the board, max think time, last move from >opponent and castling status >- outputs then the move it makes and exits. >I have made a little attempt to write one myself and that is not going all too >bad, but i would like to provide a 'serious' engine. If anyone has a suggestion >i would appreciate. >Greetings, >Hans >PS: my chesspage is at www.browserchess.com I think most wb-engine can take input like this. You only have to redirect the stdin to a file. Ex. in win: engine < input.txt and then write all your command to the input.txt file before starting the engine. There could be a problem to stop the engine. I only know about Crafty that finish each command before he interpret the next command such that you can put the quit command into the file. Ex. xboard new batch on !!!!! level <m t i> or st <t> force <all moves> go quit You have to look up the 'batch on' command but I think it was like this. For Crafty you don't need to redirect the stdin put give the input filr the name crafty.rc on win system and .craftyrc on unix systems. Odd Gunnar
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.