148149150151152153154155156157158
while(!isFinished() && i < 10) { getRenderer().render(); AbstractPlayer nextPlayer = whoIsNext(); try{ makeMove(nextPlayer, nextPlayer.yourNextMove()); } catch(Exception e){ output("ERROR !!!"); output(e.getMessage()); output(e.toString()); e.printStackTrace();