import java.lang.Object; import java.awt.Color; import java.awt.Graphics; public class Board { private int width; private int height; private int rows; private int columns; private Color oddColor; private Color evenColor; public Square[][] Squares; public int number_of_visits; public Board(int _width, int _height, int _rows, int _columns, Color _oddColor, Color _evenColor) { width = _width; height = _height; rows = _rows; columns = _columns; oddColor = _oddColor; evenColor = _evenColor; Squares = new Square[rows][columns]; for (int i=0; i