Skip to content

AgnieszkaAureliaMarczak/Hangman

Repository files navigation

⭐ Hangman - guessing game ⭐

A structure-oriented app that codes a password and gives the player ten attempts to guess it.

⭐ General Information

Play against a computer opponent: select a category and try to guess the password before a hangman is drawn.

hangman1

This is a copy of an interactive game created by me here. I designed it to practise the principles of structure-oriented programming.

⭐ Features

👉 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)

⭐ How To Use

👉 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

hangman

👉 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)

⭐ Have fun! ⭐