Skip to content

A unique and fun Hangman game implemented in Google Colab (Jupyter Notebook service)

License

Notifications You must be signed in to change notification settings

IstinNew/UniqueHangman

Repository files navigation

Unique Hangman

Summary

This project is a unique take on the classic Hangman game with a fun and tech-themed approach implemented in Python. Users can guess letters to reveal a hidden word, with a limited number of incorrect guesses allowed before the game is over. This version includes unique features and customizations to enhance the gameplay experience.

Languages and Libraries Used

  • Python
  • Google Colab
  • Random (Re)
  • Faker library

Key Learnings

This project provided an opportunity to practice advanced Python programming skills, including object-oriented programming, and customizations for a unique gaming experience. Additionally, using Google Colab streamlined collaboration and execution in a cloud environment.

What Makes This Code Unique

  • Dynamic Word Choice: Utilizes the faker library to ensure words are randomly selected each game, ensuring a unique experience every time. (# Option to deubug and play against the library for enthusiasts)
  • Tech-Themed Words: Words are carefully chosen to reflect tech-savvy terms, making the game more exciting for tech enthusiasts.
  • Input Validation: Robust input validation to handle digits, upper or lower case letters, and repeated guesses without losing chances.
  • Debugging Feature: Includes a debug line for programmers to easily identify the chosen word, facilitating smoother game development and testing.
  • Difficulty Levels: Easy, medium, and hard options to match player skill levels, providing a customized challenge.
  • ASCII Art: Custom ASCII art for hangman stages to add visual flair.
  • Interactive Feedback: Thoughtful messages to guide the player through their guesses.
  • Colab Compatibility: Designed to work seamlessly in Google Colab for easy access and execution.
  • Player engagement: Option to replay the game, enhancing engagement and enjoyment.
  • Educational Value: Helps improve vocabulary and familiarity with tech terms in a fun and interactive way.

Challenges Overcame

Challenges included implementing custom features and handling complex game logic to maintain a smooth user experience. Configuring the project in Google Colab also provided insights into using cloud-based IDEs for collaborative work.

Additional Reflections

Working on this project was a fantastic exercise in applying advanced programming concepts and enhancing the classic Hangman game with unique features. It provided valuable experience in debugging and refining code to improve the overall user experience.

About

A unique and fun Hangman game implemented in Google Colab (Jupyter Notebook service)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published