Making the "magic" number (96) into a more issue-centric syntax: 'a'.ord == 97 so now if square coordinate is "a1" for example, the "a" part is translated into 'a'.ord - 'a'.ord + 1 == 1 which is correct. Same for the rest of the square letters (a-h, inclusive).