Closed tijko closed 9 years ago
Hey Tijko, thanks for the patch! Good idea catching IndexError in sunfish.py, I'm sure that'll help some if the confusion. I'm not quite sure the changes in xboard.py improves readability, though you're right that they make the code shorter and slightly faster. Can you split the request for now at least? :-)
Sure, I've reverted those changes.
Hi, impressive code. I few small edits, added an exception on
IndexError
too.The score could be done in one loop instead of two, this also cuts out a line ;)