Chessboard coordinates determination