Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Smallest chess program in chess is in basic

Author: Walter Faxon

Date: 12:38:18 03/19/05

Go up one level in this thread


On March 19, 2005 at 13:42:26, William H Rogers wrote:

>I have been playing multiple tournements lately and am now in the process of
>playing tournements with programs written in Basic.
>In passing I found that I have a very old program written for the Radio Shack
>Model 100 portable computer. RS Basic saves programs in a tokenized fashion so
>the occupy the least amount of space. In this case the program was only about 4k
>long. When converted to QBasic and expanded it now occupies about 8k.
>It does not follow 50 move rule or the 3 move repetition and I am not sure if
>allows captures enpassant but for a tiny program it plays fairley well.
>I am not sure how to post the program here or I would. If anyone is interested
>then maybe they can show me how to post the program here.
>Bill


I remember seeing in the ACM SIG magazine devoted to APL (probably c. 1976 -
1980) a chess program written in just =one= printed page of APL code!  Like most
BASICs, APL programs are usually interpreted so in determining its "size" one
might also want to consider the size of the APL environment.

Are you more interested in size of source or object code?

Regarding posting your program, two thoughts:  (1) Do you have a copyright
release from whoever wrote/owns the program?  (2) If so, I should think it OK to
just cut and paste the source into a post, provided you warn readers in the
subject line that it's a long post.  Or maybe some helpful reader would offer to
put it on his/her website?

Good luck!

-- Walter



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.