3 ms·
The comments and empty lines amount to around 200 lines, OP is not counting those I suppose.
by davidghiz 12y ago
The comments and empty lines amount to around 200 lines, OP is not counting those I suppose.
- e12e 12y agoNo: wget 'https://raw.githubusercontent.com/thomasahle/sunfish/master/sunfish.py' egrep -v '^$|^ *#' sunfish.py > sustrip.py wc -l *py 388 sunfish.py 263 sustrip.py (or: equivalently:) egrep -c '^$|^ *#' sunfish.py 125 #Comments, empty lines egrep -c '^$|^ *#' sunfish.py -v 263 #Non-empty lines, non-comment lines I believe the actual chess engine might be 111 lines, though.