Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Tiniest chess program ever written? This is it !!!

Author: Simon Finn

Date: 01:48:47 09/11/02

Go up one level in this thread


On September 11, 2002 at 03:45:49, Alastair Scott wrote:

>On September 10, 2002 at 23:40:43, scott farrell wrote:
>
>>I think this is it - just 1 line:
>>
>>printf('resign');
>
>printf('0-1'); would be even shorter ...

but doesn't work if the program is Black.

>
>Alastair

Unfortunately both programs are buggy, because printf
expects a string constant and ' is the character quote.

Try

    printf("resign\n");

for consistent losses.

:)

Simon



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.