Skip to content

This Java program implements a simple word guessing game where users have to guess the name of a movie by revealing its characters one by one. The program randomly selects a movie name from a predefined list and displays a series of buttons, each representing a character of the movie name.

License

Notifications You must be signed in to change notification settings

TanishqChauhan8/Hangman-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Hangman Game

This Hangman game is a simple Java application where players can guess the name of a movie.

Description

In this game, a random movie name is chosen from a predefined list, and some of its letters are hidden. Players can guess the movie name by selecting letters from the provided buttons or typing directly into the text field.

Features

  • Random Movie Selection: A random movie name is chosen from a list of popular movies.
  • Letter Hints: Some of the letters in the movie name are revealed to the player.
  • Guessing Mechanism: Players can guess the movie name by selecting letters or typing directly into the text field.
  • Check Button: Players can check if their guessed movie name matches the actual movie name.
  • Feedback: Players receive feedback on whether their guess is correct or not.

Usage

To play the game, follow these steps:

  1. Run the compiled Java program.
  2. Guess the movie name by selecting letters from the provided buttons or typing directly into the text field.
  3. Click the "Check" button to verify your guess.
  4. Receive feedback on whether your guess is correct or not.

Dependencies

This application requires Java to be installed on your system.

Contributing

Contributions are welcome! If you have any ideas for improvements or find any issues, feel free to open an issue or create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This Java program implements a simple word guessing game where users have to guess the name of a movie by revealing its characters one by one. The program randomly selects a movie name from a predefined list and displays a series of buttons, each representing a character of the movie name.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages