Skip to content

Byasar3/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangman Terminal Game

Overview

Welcome to the Hangman Terminal Game!

Features

  • Random word selection from 3 predefined lists: easy, medium and difficult.
  • ASCII art to display the hangman's progress.
  • Keeps track of guessed letters and remaining attempts.
  • Simple and intuitive command-line interface.
  • ANSI colours to liven up the terminal.

Installation

To run the Hangman game, ensure you have Java installed on your system. This game is compatible with Java 8 and above.

  1. Clone the repository:
    git clone https://github.com/Byasar3/Hangman.git

Usage

To compile and run the game, open the game in your preferred IDE and run 'Main'.

How to Play

  1. The game will randomly select a word from the predefined list, based on your difficulty choice.
  2. You will see a series of underscores representing the hidden word.
  3. Guess a letter by typing it and pressing Enter.
  4. If the letter is in the word, it will be revealed in its correct position(s).
  5. If the letter is not in the word, you will lose one attempt.
  6. The game ends when you either guess the word correctly or run out of attempts.

About

Terminal hangman game made using java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages