The code was updated to support larger board sizes and therefore calculate directions on the fly (use an array of 8 possible directions, add the values accordingly, and validate). The README needs to be updated with these details (it still says that directional information is hardcoded.)
The code was updated to support larger board sizes and therefore calculate directions on the fly (use an array of 8 possible directions, add the values accordingly, and validate). The README needs to be updated with these details (it still says that directional information is hardcoded.)