Open bellaisgroovy opened 6 months ago
I think i messed up in the orientation
I interpreted the arrays x and y differently in different places
I will move to doing it from the computers perspective where in array below, x0y0 is top left, x1y0 is middle left and x2y0 is bottom left. Effectively when it is displayed by for x in arr for y in x it will be rotated 90 degrees left.
[[0,0,0], [0,0,0], [0,0,0]]
what was actually happening was an underflow of coordinates. I only checked for overflow but then added checks for lines going in the -x and +y which meant that coordinates underflowed.
if you input 5173286 then it finishes but theres no match.
find out whats going on!