Is there any Chess game API , purely written in JavaScript ? No Flash!
Anybody know the algorithm(in general) used in Chess games ?
Is there any Chess game API , purely written in JavaScript ? No Flash!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How does a chess algorithm work?:
Source.
For building your own javascript ‘engine’ that’s able to play chess at a basic level check Step by Step Javascript Chess with CPU oppo
If you scroll down it contains the source code of this, must say very limited, chess engine purely based on javascript. It also has a working version of the game to try out and all the necessary resources for building your own.
Some useful resources:
Chess Programs, by Tony Marsland, is a nice intro on how current
chess programs work.
Verhelst – Question and Answers
on Minimax Algorithms (newer version).
whose source code is freely available and, for a chess program, quite
readable.