World smallest chess program

V

Vincent Diepeveen

Nice to see Harm-Geert active here too :)

Vincent

p.s. smallest chessprogram on planet in C:

#include <stdio.h>
main() {
printf("i resign\n");
return 0;
}
 
C

Christopher Benson-Manica

In comp.lang.c Vincent Diepeveen said:
Nice to see Harm-Geert active here too :)

Currently "Here" includes comp.lang.c, and IMHO the discussion has
become sufficiently un-C-like that it would be best to remove
comp.lang.c from the followup list. Thanks. (f'ups set)
 
G

Guy Macon

(e-mail address removed) said:
Resigning is *not* a Chess move, it is merely exercising your right to
stop playing Chess. At any turn someone playing a Chess game has the
choice to play (a move) or to resign or forfeit on time (= not play).
Not playing does not violate FIDE rules. But that does not make not
playing playing Chess.

So the worlds smallest/simplest chess program would make a move,
wait until the other side moves, *then* resign.
 
R

Richard Bos

Guy Macon said:
(e-mail address removed) said:


So the worlds smallest/simplest chess program would make a move,
wait until the other side moves, *then* resign.

Just as the world's smallest OS would give you a file, trash it, and
then crash. So why is MS Windows so bleedin' large?

Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top