iwontnamemyself
Pick chess by a condition, then you could get the variable. You could pick chess by logical XYZ, or by tile.
The wrap only happens when chess move to "wrapped" neighbor in rex_grid_move.
For example in 10x10 board, (0,0) -> (11,0).
(1,0) -> (11,0) is not "wrapped" neighbor. It will move right directly.