public static void updateBoard(int nr) {
        Game.updateMap(nr);
        for (int i = 0; i < BSIZE; i++) {
            for (int j = 0; j < BSIZE; j++) {
                MapObject temp = Game.getMapObject(i, j);
                if (temp instanceof Worm) {
                    Worm worm = (Worm) Game.getMapObject(i, j);
                    Direction wormDir = worm.getDirection();
                    if (wormDir == null) {
                        board[i][j] = "W:" + worm.getWeight();// + ":";
                    } else {
                        board[i][j] = "W:" + worm.getWeight();// + ":" + wormDir.toString();
                    }
                }
                if (temp instanceof Bacteria) {
                    board[i][j] = "(B)";
                }

                if (temp == null) {
                    board[i][j] = EMPTY;
                }
            }
        }
        panel.repaint();
    }