Closed kjuraszek closed 4 years ago
A horizontal line doesn't score points when board size equals scoring length and is in one of middle rows. Probably bad conditions in function calculatePoints(), e.g.: if(i%width<=width-length && i<width**2 - (width * (length-1)) +1)
calculatePoints()
if(i%width<=width-length && i<width**2 - (width * (length-1)) +1)
Bug fixed !
A horizontal line doesn't score points when board size equals scoring length and is in one of middle rows. Probably bad conditions in function
calculatePoints()
, e.g.:if(i%width<=width-length && i<width**2 - (width * (length-1)) +1)