Chessboard on a curved surface