For intro to cs I'm thinking of making a graphical chess game for our final project (we're free to make any game). I'm trying to think of ways to make a good AI computor. Any ideas on how to program it? I'm not looking for any code, I just want ideas. Getting code would be cheating =/
I don't think it would be very wise to attempt a chess AI. I don't think anyone without a few years of statistics/calculus/other math classes could even start to imagine how a chess AI should function. I suppose you could make one, but it would probably suck.
Just make it two player.
On a side note, if I HAD to create an AI, I'd do something like this:
Make a class for each chess piece. When it's the computer's turn, it should analyze everything with in a 10x10 distance (or whatever is appropriate) and rate pieces in its range at some "danger" level. It'd loop through each existing piece and then calculate an appropriate action.
I suck at chess, so I'd suck at making the ratings, etc. I'd read a book on chess before I did this also.