[gameprogrammer] Re: Chess Program

Hey Azeem,

The language you use doesn't really matter from the standpoint of what
will make a better chess program.  Languages themselves don't do
anything, but the techniques you use in the languages is what matters.

There are exceptions to this rule but it's by and large mostly true (:

Because of that you should use whatever language you are most comfortable with.

If you haven't done any game programming before, SDL might be a pretty
good starting point for you.  You can use C++, Python and many other
languages with it.  You can get SDL or find out more information at
http://libsdl.org/

For making a chess AI, one technique is to give each type of peice a
value and then just do raw brute force recursion for every possible
move and every possible counter move and then find the move which most
likely will end up in the AI having a higher peice score than the
player (if you add up the points of all the peices).

Since the number of possibile grows exponentially you probably want to
limit the recursion to a certain depth (like make it only look three
moves ahead).

Here's an interesting article you might like (:
http://en.wikipedia.org/wiki/Computer_chess

On 6/12/08, Azeem Zaheer <azeem_841@xxxxxxxxxxx> wrote:
> Hi.I wanted to make a chess program.
> Which language will be the best for this purpose?
> and how will I employ AI in the program.
> Thanks in advance.
>
> ________________________________
> Explore the seven wonders of the world Learn more!

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: