Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: more help with move generator

Author: Tony Werten

Date: 01:26:33 01/16/03

Go up one level in this thread


On January 16, 2003 at 02:38:37, Joshua Haglund wrote:

>Ok, here I am again.
>
>What I want to do is this:
>
>getline(input)
>
>then take the input and look through a string
>moves[3]= "e2e4", "d2d4", "c2c4"};
>
>if (move_found)  // maybe something true or false 1 or 0??
>    evaluate_board();
>else
>cout <<"invalid move" << endl;
>
>return move     // reply move to be displayed from the evaluated position.
>
>I don't know how to go about this. I've been trying for about 5 days.
>
>Anyone willing to help _me_ write this part?

There's a difference between driven and stubborn :)  Get a good C book.

Tony

>
>Credit is given where credit is due!
>
>Thanks,
>
>Joshua
>toneewa@yahoo.com



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.