Removed package and general cleanup

This commit is contained in:
Tim
2021-02-21 12:15:00 +10:30
parent 27ba49f586
commit cdb34fef3b
4 changed files with 25 additions and 36 deletions

View File

@@ -0,0 +1,21 @@
/**
* This class is used to invoke the game.
*
*/
public class AceyDuceyGame {
public static void main(String[] args) {
boolean keepPlaying;
AceyDucey game = new AceyDucey();
// Keep playing game until infinity or the player loses
do {
game.play();
System.out.println();
System.out.println();
System.out.println();
keepPlaying = game.playAgain();
} while (keepPlaying);
}
}