I wrote an AI (if you can call it that) chess game before.
Recursion, Recursion Recursion...
And it gets really confusing...
Just think about how you think, your own rationale, its simply a game of
perceiving the next move.
So try to build from the opposite side. instead of thinking about what your
computer is going to attack, predict the next move by assigning value to
pieces...
Now it gets fun. Because logically, the computer could predict the entire
game.. this could be time consuming, in whichc ase you can set your
diffuculty level to timeout after awhile in which case the computer ranks
its moves and takes the "best" one.
No, I don't have DLL code... sorry, =)
I might get bored and write it sometime.
"derian" <--*******@astutesolutions.com---> wrote in message
news:Oh**************@tk2msftngp13.phx.gbl...
Do you guys know if there is a program that can generate chess moves? I
recently wrote a chess game but its only 2 [human] player... I deceided it
was too difficult to come up with the logic for the AI movements... anyone
know where i can find a DLL that will generate chess moves? Ideally, the
DLL would accept moves made by the human player and generate an AI move
based on that. Any help would be much appreciated
:\\ME