const DEPTH = 8; const DS = DEPTH * DEPTH; void setup(){ } Void mouseReleased() { int smallestXBoxSize = width/DS; int smallestYBoxsize = height/DS; int x = mouseX/smallestXBoxsize; x = int(x); int y = mouseY/smallestYBoxsize; y = int(y); int oldNumber = [x][y]; int newNumber = oldNumber; while(newNumber == oldNumber) newNumber=(int)random(1,4,999) board[x][y]=newNumber; showrectangle(0,0,DS,DS); } void assignFourSquare(){<->} void assignRandomColors(){<->} void printBoardValues(){<->} void showRectangles(xStart, yStart, xEnd, yEnd) {<->}