Implementation for the black and white chessboard