How many lines of code in Rybka or Houdini?

Sort:
ozzie_c_cobblepot

Anybody know this? I was talking with my buddy about it, I guessed 50k, he guessed 10k.

I'm looking for an answer hopefully supported by a link. But if you just want to guess, that's great too.

Martin_Stahl

An older version of Stockfish had a little under 14,000 lines of code. I would imagine Rybka and Houdini are in the same ballpark.

https://groups.google.com/forum/#!topic/fishcooking/AcRZ7j3SPIs

Martin_Stahl

Though Stockfish DD only had 7,102 and based on the blog information it looks like 5 had a little over 6,500 lines.

http://blog.stockfishchess.org/

So, I guess the answer is, I don't know

LegoPirateSenior

I don't think this information is public for either Rybka or Houdini, but open source engines might shed some light on the expected size. 10k seems a bit low to me.

Stockfish 6: about 13.5k

Crafty-8.11: about 18k

Crafty-24.1: about 46k

The server with Fruit 2.1 source hiccuped on me.

ozzie_c_cobblepot

Thank you both.

MikeCrockett

I haven't looked recently but I was impressed by how compact the compiled executable was on the Stockfish engine. That suggested to me some pretty tight, highly optimized coding.

ProCrazy

There's an engine written in just 111 lines!

https://chessprogramming.wikispaces.com/Sunfish?responseToken=d7abc0a33ca5315b015fb47fce6d6ae8

https://www.reddit.com/r/programming/comments/1xmj1a/sunfish_a_111_line_chess_engine_in_python/