Bcladd has already given you some good resources ... here is another popular one ... GNU chess
http://www.gnu.org/softwar
Main Topics
Browse All Topicshello, can anyone help me with finding a chess source code(preferably in the form of java code (even an applet), written in C or C++ or other same level language) thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Bcladd has already given you some good resources ... here is another popular one ... GNU chess
http://www.gnu.org/softwar
Sorry for taking long guys i was still checking out thi sites
==>Bcladd; http://home.comcast.net/~t
can you help me to make it drive the Winboard/Xboard, the code seems easy to understand so i want it drive a Good GUI as Winboard. I have downloaded a winboard but there seems to be loads of info on how to do this such that i don't know which to try and what not to try.
Am still checking on
http://www.chessopolis.com
coz there really seems to be loads of them and thanks man for this site.
==>sunnycoder; GNU seems not be updated(at leats i think so) this days and looks as if it's files are corrupted bcoz it compiles but does not run.You can help to me build(or if there is something which need to done on my VC compiler first) it if i might be doing something wrong.
Honestly, I have never run Winboard. I know crafty can interface directly. I THINK (this is from memory and I am getting old) tscp can parse an X/Winboard instruction stream. Just have to get it to standard input.
The big deal is to make sure that the GUI and the chess engine are separated and communicate through a well defined interface. That way you can minimize your changes in the engine if the interface changes and vice versa. I would suggest you look at how crafty interfaces with X/Winboard. That is the one I remember being pretty good at that; there may be others at chessopolis.
Good luck,
-bcl
Winboard is easy to utilise with any number of different arifacts - such as the chessopolis and Kerrigan files.
If in doubt, there is a great tutorial on OXO here: http://homepages.aol.com/~
OXO is very similar to chess, in that it is played on a sort of chequer board. It's is similar to 'drafts' or 'draughts' (don't know about the spelling) - which is about different coloured circle pieces jumping over one another - but it's obviously easier to understand than chess.
Finally, OXO is probably best for to start with an game engine (or 'enjiyne') as twixt the twain, it is similar to noughts and crosses - which has a similar kind of concept to chess, but is maybe even more complex...
I think of it like this --- chess has all these pieces which do all these different and hard to understand and remember stuff, like the castle which goes diagonally, and the horsey which jumps two steps left and one forward, or one steps back and two steps left or whatever, and the king who is only allowed going once, and the queen who can go any number but only in one direction - then the bishtop which is kind of like the opposite to the castle ----
all this is too much for the average PROFESSOR to remember, let alone us mere mortals and programmers etc...
However, take some respite in these wise words - Chess is overly complicated - just like high level languages. **BUT** oxo is quite simple ---- However, look at the two - Chess has all these silly rules, just like high level languages, but oxo doesn't - only you can put your O or X in a square and hope to win - this is like machine code ....
... Now then - ask a programmer who he is more scared of - someone who is highly complex and very much genius chess player, who only can program in Visual Basics,
..... OR !!....
... Simple Simon oxo man who plays him noughts and crosses at lunch time and programs in machine code which is probably the language which made the whole earth if you look into it - i haven't looked at this yet, but I think maybe this could be the key to evolution and Darwin is indeed wrong, as DNA may be machine code ?
Following from previous question...
DNA is indeed similar to machine code - but it is BIOLOGICAL (I thought this was funny as it still has the word LOGIC inside it - but this is not still machine code)
Sorry if I lead you up a garden path with that forum answer.
I cannot halp you with chess games as chess is WAY too complicated for us lot.
Good luck.
Business Accounts
Answer for Membership
by: bcladdPosted on 2004-03-03 at 17:43:38ID: 10510469
Take a look at http://home.comcast.net/~t ckerrigan/ -- I always recommend Tom's Simple Chess Program. It is in C, it is amazingly well documented, and it is clear enough that it is not too hard to port (I managed to port it to UnrealScript to make a silly battle-chess game out of UT2K3). It is simple in the sense that it was designed to be easy to learn from. That means some occasional optimizations were not done in the interest of clarity. It runs plenty fast however with interruptable searching (uses setjmp and longjmp).
ge.com/Pro gramming/G ame_Develo pment/ Q_20 859733.htm l), I stumbled across http://www.chessopolis.com /cchess.ht m, another extensive site. You might look for Crafty (I learned a little bit reading the code but it is a touch convoluted) and Xboard/Winboard (for display).
Really worth a look.
One of the last times this question came up (http://www.experts-exchan
Hope this helps, -bcl