Catching illegal move in the game UI