Improve interactive mode of chessboard