Skip to content
Snippets Groups Projects
Commit 8c9411fa authored by Jeyda Parlar's avatar Jeyda Parlar :hibiscus:
Browse files

maj menu

parent b7b8e985
No related branches found
No related tags found
No related merge requests found
...@@ -50,6 +50,10 @@ public class Menu{ ...@@ -50,6 +50,10 @@ public class Menu{
System.out.println(" If you win you will move on to the next level, but if you loose you will be ... "); System.out.println(" If you win you will move on to the next level, but if you loose you will be ... ");
Thread.sleep(2000); Thread.sleep(2000);
System.out.println(" TERMINATED!"); System.out.println(" TERMINATED!");
Thread.sleep(2000);
System.out.println('\n');
System.out.println(" Press enter to continue...");
} }
......
...@@ -9,5 +9,9 @@ public class MenuTest{ ...@@ -9,5 +9,9 @@ public class MenuTest{
menu.display(); menu.display();
menu.validate(); menu.validate();
menu.displayGameRules(); menu.displayGameRules();
menu.validate();
Display.clearScreen();
System.out.println("Success!");
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment