This friendly console based java application contains a simple implementation of the classic Hangman game in Java. Hangman is a word guessing game where the player must guess a secret word letter by letter within a certain number of attempts. If the player guesses the word correctly within the given attempts, they win; otherwise, they lose.
Arda Baran
This repository contains a Java implementation of the classic Hangman game. Hangman is a word guessing game where the player must guess a secret word letter by letter within a certain number of attempts. The game provides feedback after each guess, including the current score, correct guesses, wrong guesses, and remaining attempts. ASCII art is utilized for visual appeal.
- Random word selection for guessing
- Single character input for guesses
- Tracking of correct and wrong guesses
- Score tracking and feedback
- ASCII art representation
- prints hangman -prints scoreboard of the player
- Java
- Queue
-ASCII ART
-Array
-Object Oriented Programming -awt -graphics
- Clone the repository to your local machine.
- Compile the Java files using
javac
. - Run the Hangman game using
java HangmanGame
. - Follow the prompts to play the game..
src/
: Contains the Java source code