public void game() { deal(); System.out.print("\f"); System.out.print("Hit Enter to Start"); Scanner userInputScanner = new Scanner(System.in); String cmdStart = userInputScanner.nextLine(); if (cmdStart.equals("")) { try { Thread.sleep(1000); // 1000 milliseconds is one second. } catch (InterruptedException ex) { Thread.currentThread().interrupt(); } System.out.println("\fWar has begun\n"); try { Thread.sleep(1000); // 1000 milliseconds is one second. } catch (InterruptedException ex) { Thread.currentThread().interrupt(); } war(); } }