feat: Implement 93 23_Matches in Java

This commit is contained in:
Torben Möller
2022-01-01 20:17:09 +01:00
parent 5439ece531
commit 32e6b885ce
4 changed files with 165 additions and 151 deletions

View File

@@ -0,0 +1,24 @@
/**
* Game of 23 Matches
* <p>
* Based on the BASIC game of 23 Matches here
* https://github.com/coding-horror/basic-computer-games/blob/main/93%2023%20Matches/23matches.bas
* <p>
* Note: The idea was to create a version of the 1970's BASIC game in Java, without introducing
* new features - no additional text, error checking, etc has been added.
* <p>
* Converted from BASIC to Java by Darren Cardenas.
*/
public class TwentyThreeMatchesGame {
public static void main(String[] args) {
showIntro();
TwentyThreeMatches game = new TwentyThreeMatches();
game.startGame();
}
private static void showIntro() {
System.out.println(Messages.INTRO);
}
}