[gameprogrammer] Re: Chess Program

Any computer language will do.  Even scripting languages.  As someone
else said, scripting languages will come with a performance penalty,
but from the sounds of it, you are starting out; so the performance
penalty should be waived in favour of ease of actually getting
something done.  So don't rule them out completely when choosing your
language.

If you have a favourite language, go with that.  If you don't have a
favourite language then pick one you are interested in learning. 
Nothing kills motivation when forced to use language tools and a
language that you think bites.

Someone mentioned using SDL.  That's fine and all but if you want to
get off the ground running, making an ugly console (text) based chess
game will get you to the meat of the program faster than having to
slog through learning about graphics and all that jazz.  At least
that's my opinion.  You can give the girl a prettier face when you
get further along in the programming.

You may even want to start simpler.  Try making a 'checkers' game
since it is simpler and faster to play.  What you learn from doing
that can and will be applicable to a chess game.  Just a thought.

AI.  Start searching on Depth First Search and Breadth First Search. 
Super simple chess algorithms usually start that way.  Getting more
complex will start using some Heuristics with those two searches. 
Meaning, programming in some logic to trim down your search tree by
ignoring obvious bone head decision trees.  However good heuristics
require quite some knowledge of the problem domain and chess can be a
challenging problem domain to work with.  If you have access to
someone who is really good at chess then poke them for information on
their strategies and such.  But that's getting ahead of the game.  Do
the simple case first then get complex.


--- 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.


Robbert de Groot


      __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! 
Answers and share what you know at http://ca.answers.yahoo.com

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


Other related posts: