to setup clear-all ; drawing a chessboard ask patches [ ifelse (pxcor + pycor) mod 2 = 0 [ set pcolor white ] [ set pcolor black ] ] end