I'm looking for a chess engine that is written in C language and is between 500 to 2000 lines of code or its size to be a few kilo bytes. I don't need the engine to be super smart, just need a very basic chess engine.

  • I doubt very much one can write a chess engine in only 500 lines of code. Even if it exists, it won't be much more than "make a random move without any though". – Alejandro Dec 10 '18 at 20:04
  • This is definitely the site to ask this question. But since you are new, I make you aware of our sister site chess.stackexchange.com (which would be the wrong place to ask this question, but is still a very useful site to know) – Mawg says reinstate Monica Dec 11 '18 at 14:05

You appear to be seeking Toledo Nanochess.

With only 1257 non-blank characters, Toledo Nanochess is the current world's smallest chess program in C language.

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.