Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Visual Basic for chess program

Author: Lenard Spencer

Date: 17:17:18 11/12/00

Go up one level in this thread


On November 11, 2000 at 20:10:05, Ray MacFadyen wrote:

>My son who is doing year 12 at high school needed help with a program he was
>writing in visual basic.So I bought myself a book called "Idiots guide to visual
>Basic".After a bit of reading and experimenting we managed to complete his
>project satisfactorily.Since then I have written a couple of programs for myself
>which were Hangman and Tictactoe,I found this very enjoyable and a lot of
>fun.Now my thoughts turn to writing a chess program (I must be crazy).
>My question is should I continue with visual basic or should I learn visual
>c,any comments on the advantages and disadvantages of visual c over visual basic
>would be appreciated.
>Thanks in advance
>Ray MacFadyen

Whatever language you feel the most comfortable with, go for it.  I started my
first chess program some 20 years ago using the original "Dartmouth" BASIC.
About 1982 I bought my first real computer (an Atari 800 with 48k RAM), and with
the added flexibility of its dialect of BASIC I had a chess program running
within another year and a half.  It didn't look at any of its opponent's replies
to its legal moves (other than how to get out of check, which meant that it
understood checkmate), and even then it took on average 5 to 9 MINUTES to make a
move.  But it did play LEGAL chess in that it understood castling, en passant,
and underpromotion, although it always promoted to a queen unless a knight meant
checkmate.  Maybe one of these days I'll post it on my web page for those of you
who still have your old Ataris and could use a good laugh...



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.