private boolean newGame(int size) { String command; StringBuilder response = new StringBuilder(); command = m_gtp.getCommandBoardsize(size); if (command != null && !send(command, response)) { System.out.println(response); return false; } command = m_gtp.getCommandClearBoard(size); if (!send(command, response)) { System.out.println(response); return false; } initGame(size); return true; }