Canonelis
Canonelis
Implemented multivoting option in the settings Works well in practice without any other of my addins. Tested directly from the vote fixes branch.
These additions help keep the codenames game from breaking and help with transferring host in between games/when rewinding.
Changed the clue parsing algorithm to handle unicode characters. The regular expression it now mimics is `^\s*\a+(-\a+)?(\s*-?\s*\d+|\s*(-|\s)\s*inf)\s*$` where "\a" represents all legal clue letters. I needed to avoid using any...
/Math/Operations.py line 285 r = float(ap * ab) / ab.length_squared could be changed to r = float(ap * ab) / (1 if ab.length_squared == 0 else ab.length_squared) Then anytime ab.length_squared...
line 701 i_extend2 = next( ( i for i in itertools.chain((i_start,-1,-1), range(len(p)-1,i_start, -1)) if not point_orientation( p[i-1], p[i], p[(i+1) % len(p)] ) ) ) should be i_extend2 = next( (...