Пример #1
0
 /**
  * Starts the Tic Tac Toe game. <br>
  * Asks after each ended game if the user want to continue. Continues until the user does not want
  * to play anymore.
  */
 public void start() {
   boolean doorgaan = true;
   while (doorgaan) {
     reset();
     play();
     doorgaan = readBoolean("\n> Play another time? (y/n)?", "y", "n");
   }
 }