Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: What is Botvinnik's legacy to computer chess?

Author: blass uri

Date: 10:47:06 02/21/00

Go up one level in this thread


On February 21, 2000 at 12:24:42, Tom Kerrigan wrote:

>On February 21, 2000 at 05:51:43, blass uri wrote:
>
>>Is there something that I do wrong?
>
>Probably the biggest problem with the code that you posted is that you aren't
>using multiple functions.

I looked at your program in the past and I understood most of it.

I need functions for things that I do several times.
I thought to use functions for things like checking if a move is legal and
generating moves(it is not important if I use a function for generating the
initial position) but probably it is a better idea to start with defining the
main only by undefined functions and only after it to design the functions.

I did it in the wrong way because I like to check after adding some lines if I
have no mistakes(I prefer to discover them as soon as possible) but I think that
it is better to add empty functions to check if I can compile and run my program
and get the expected results.

Uri



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.