Hi again, here to report another bug.
Got the king out of bounds forcing it in a position close to the edge in which every tile around him was occupied by another piece, he went outside the board, moved 2 tiles up and then entered the board as soon as he saw a free tile lmao