12

Basically I have seen that people write a lot of Chess Algorithms and ask Questions in this forum which I fumble to answer appropriately . I see the Code but unable to make out whether it is correct or not ?

I am myself a Software professional but unfamiliar with Chess Algorithms or coding related stuff . Could you please help me to suggest where I can learn these things or I will get the explanations ?

9

How you would approach the problem:

  • Check out chessprogramming.wikispaces.com. This'll be your reference site.
  • Create an account at talkchess.com. All the best engine developers are there. If there's an engine question that you can't find an answer there, you won't find it anywhere else.
  • Check out the TSCP engine source code. TSCP is a simpler but working implementation chess engine. Easier to read than Stockfish.
  • Do something. Try to write a chess board generator. Check the reference sites above. Study how TSCP does it.
  • Compare your PERF results with https://chessprogramming.wikispaces.com/Perft
  • Write a simple position evaluation with materials only. Copy the PST table from TSCP or the chessprogramming site.
  • Write a simple nega-max and alpha-beta search.
  • Read about UCI protocol
  • Add transposition table
  • Add simple null-move pruning
0

If you want to check a very simple chess engine written in C (even simpler than TCSP) and beginners oriented you can take a look at Secondchess:

https://github.com/emdio/secondchess

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.