changed read-only accesses of board to use getValueAt()