|
|
|
|
|
by utopiah
168 days ago
|
|
> surprisingly readable and surprisingly strong chess engine in 111 lines of Python Link I get shows 500 lines and it starts with 50 lines of piece-square tables. Maybe it's obvious when you are into the domain but otherwise... that's pretty much of opposite of what I would call "readable". |
|
> I got 111 by deleting the tables in the top, and the UI code in the bottom, and then running 'cloc' on the result. That gave 20 blanks, 56 comments and 111 lines of code. ;-)