A structure-oriented app that codes a password and gives the player ten attempts to guess it.
Play against a computer opponent: select a category and try to guess the password before a hangman is drawn.
This is a copy of an interactive game created by me here. I designed it to practise the principles of structure-oriented programming.
👉 Choose from five password categories
👉 Each category added as a separate .csv file
👉 20 password options in each category
👉 You can easily change passwords as you wish (remember to keep 20 in each file)
👉 Clone the repository using Git, then run it on your computer
👉 You'll find the main method in the Game class, in the src folder
👉 When typing, use small letters only
👉 Pro-Tip 1: for best functionality use the Oracle OpenJDK version 17
👉 Pro-Tip 2: make sure you can read a .csv file from your IDE (check before running the app if you need any extra plugins)