Computer Chess Club Archives


Search

Terms

Messages

Subject: more help with move generator

Author: Joshua Haglund

Date: 23:38:37 01/15/03


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?

Credit is given where credit is due!

Thanks,

Joshua
toneewa@yahoo.com




This page took 0.01 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.