This project consists of two versions of the classic Hangman game, developed by ZeroTrustX. The project was designed to offer both educational and entertaining experiences by implementing interactive gameplay with progressive challenges.
- Version 1: Tailored for non-native English speakers, using B1/B2 vocabulary words.
- Version 2: Designed for IT and cybersecurity enthusiasts, with technical terms and definitions.
- User Management:
- Register and log in with unique usernames and passwords.
- Secure data handling and persistence.
- Gameplay Mechanics:
- Random word selection from predefined lists.
- Timer-based gameplay (30 seconds per guess).
- Limited incorrect guesses (5 per level).
- Progressive levels with increasing difficulty.
- Scoring System:
- Tracks individual performance.
- Maintains a high-score leaderboard.
- Focuses on vocabulary enhancement for non-native English speakers.
- Includes words with clear definitions to aid learning.
- Aimed at students and professionals in IT and cybersecurity.
- Includes specialised terms with educational definitions.
- Clone this repository:
git clone https://github.com/zeroxtrust/PythonHangman.git
- Navigate to the project directory:
cd HangmanGame - Run the desired version:
- Version 1:
python Hangman_Version1.py
- Version 2:
python Hangman_Version2.py
- Version 1:
- Register as a new user or log in with existing credentials.
- Choose an option from the main menu:
- Start a new game.
- View high scores.
- Play in team mode (if available).
- Log out.
- During gameplay:
- Guess letters to complete the word.
- Each correct guess earns points.
- Complete all the letters of the word to progress to the next level.
Both versions have been thoroughly tested for:
- User registration and login functionality.
- Word guessing mechanics and score tracking.
- Handling edge cases, such as duplicate usernames and invalid inputs.
- Implement difficulty settings for broader audience appeal.
- Add hints or suggestions for challenging words.
- Enhance security by encrypting user data.
This project was inspired by resources such as:
- W3Schools Python Tutorials
- Programming with Mosh - Python for Beginners
- Real Python Tutorials
ZeroTrustX