public String toString() { String s = ""; for (int row = 0; row < board.rows; row++) { for (int lane = 0; lane < board.lanes; lane++) { if (block != null && block.isGlobalPositionOccupied(row, lane)) { s += block.getGlobalCell(row, lane); } else { s += board.getCell(row, lane); } } s += "\n"; } return(s); }