private String[] getCommands() throws IOException {
        String result[] = new String[bombers.length];
        for (int i = 0; i < bombers.length; i++) {
            IBomber b = bombers[i];

            try {
                String red = b.readFromBomberman();
                result[i] = red.replaceAll("\n", "  ");
            } catch (NullPointerException e) {
                System.out.println("DBG: read from bomberissa NPE" + e);
                result[i] = "WAIT";
            }
        }
        return result;

    }