Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Old chess program in BASIC (long post)

Author: Dieter Buerssner

Date: 23:38:37 03/20/05

Go up one level in this thread


On March 20, 2005 at 20:20:40, Walter Faxon wrote:

>Here is the BASIC program as sent to me by Bill (323 lines):

Thanks.

Many lines snipped ...

It is over 20 years ago, since I programmed in Basic.

>1040 DIM A(7, 7), U(1, 6):

A is a 2 dimensional array with dimensions 7*7, yes?
And U? 1*6 does not seem to make too much sense (why would one want to have one
dimension of length 1)?

>1100 U = -1

What does this mean?

>1320 U = U + 1:

And this? What does the colon on the end of the line mean?

As with Zach's code - seems hardly easier to read than disassembly.

Does anybody remember the IOCCC entry a couple of years ago, that was a Basic
interpreter in (IRCC) 25 lines of C code. It could play "lunar lander" (the
first computer game, I have met in my live - IRCC). WOuld that Basic interpreter
run this code?

Cheers,
Dieter




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.