Chess AI
Author |
Message |
registration
|
Posted: Tue Oct 26, 2010 12:29 am Post subject: Chess AI |
|
|
I haven't seen any chess programs in Turing. Anyone know where I can find some, or have people not bothered with Turing? (I'm not looking for code, just wondering if anyone has actually made a chess game in Turing lol).
Anyways, I made a chess game a few years ago, and I'm bored so I want to add an AI to it. Any insight? My program with all the graphics and stuff is around 3000 lines so I don't really want to post it here :/
I got the function that returns true if a move is valid and whatnot. I'm just wondering how I can make an intelligent AI with this.
And pinned pieces.. how did you guys deal with it? Just wondering if my method is efficient or not. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
A.J
![](http://compsci.ca/v3/uploads/user_avatars/119833057151651227b0d87.gif)
|
Posted: Tue Oct 26, 2010 1:07 am Post subject: RE:Chess AI |
|
|
I created one for my grade 10 summative. A link of it can be found here: http://compsci.ca/v3/viewtopic.php?t=18556
A Chess AI's complexity varies from very simple to extremely complicated (involving heuristics and databases, etc...). I would suggest starting by looking at the following article: http://en.wikipedia.org/wiki/Minimax |
|
|
|
|
![](images/spacer.gif) |
|
|