Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Tiny chess engine...?

Author: Nick Pelling

Date: 14:20:22 09/24/02

Go up one level in this thread


Hi Uri,

On September 24, 2002 at 14:13:46, Uri Blass wrote:
>>I've been asked to find a tiny - no, a *really* tiny - chess engine.
>
>I think that it is easy.
>chess engines do not need book to play and the same for graphic
>and display.

Ummm... this one does. It won't be running under winboard. :-(

>44K is more than enough to write an engine.

It depends where you're starting from, where you need to get to, and how long it
needs to take... as normal, 44K is only one constraint of many. :-/

>Tscp is clearly less than 64K unless you include also
>the exe file and not only the.

tscp is a good suggestion, thanks... though (in an ideal world) I would like an
even stronger (yet just as compact) engine. Perhaps I'll find one out there.

Under VC6.0, compiling tscp with the release build (compiling with the "minimum
size" option - other options didn't seem to make any difference at all) produces
a 61440-byte EXE. That's fairly small... but it's still larger than 44K, and may
still be too large for my target, no matter what I do.

It's true that there is a little code in there that can be removed - the command
line parsing, the benchmark testing, etc - but it's not a dramatic amount. You
see my problem?

It may be that I'm simply hoping for too much here... still, there's always "1k
ZX81 Chess" to fall back on. :-)

Cheers, .....Nick Pelling.....



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.