replaced chessboard.c