Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Minimum legal chess: FIVE lines!

Author: Jari Huikari

Date: 05:31:01 04/07/00

Go up one level in this thread


On April 06, 2000 at 22:33:02, Tom Kerrigan wrote:

>#include <stdio.h>
>void main(void) {
>  printf("COMPUTER RESIGNS!");
>}


How about this one :

#include <stdio.h>
void main(void) {
  printf("THINKING...\n");
  while (1);
}

It'll always loose on time. :-) And someone playing against it could
believe, that it's really thinking...

					Jari



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.