Skip to content

A Python-based Hangman game, created during my second week at a data science bootcamp.

Notifications You must be signed in to change notification settings

anurag150391/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Hangman

This repository houses a Python-based Hangman game, created during my second week at a data science bootcamp. Hangman is a classic word-guessing game where players attempt to guess a hidden word one letter at a time.

Explore the Hangman Game: Play Here

Overview

Welcome to the Hangman Game project! This is a simple Python-based Hangman game developed during my second week at a data science bootcamp. Hangman is a classic word-guessing game where players try to guess a hidden word one letter at a time.

In this project, I aimed to practice my Python programming skills by creating a basic version of the Hangman game. You can play this game interactively in a Jupyter Notebook on Google Colab.

Features

  • Interactive Hangman gameplay.
  • Randomly selected words from a predefined word list.
  • Visual representation of the Hangman as the game progresses.
  • User-friendly prompts and feedback.

Getting Started

To play the Hangman game or explore the code, follow these steps:

  1. Open the Jupyter Notebook file (Hangman.ipynb) in Google Colab or your preferred Python environment.

  2. Run the notebook cells to play the game or review the code.

How to Play

  1. Run the game code cell in the notebook.
  2. You will be prompted to guess letters one at a time.
  3. Continue guessing letters until you either:
  • Successfully guess the word.
  • Run out of attempts, resulting in a loss.

Customization

Feel free to customize the game by making changes to the code. Some ideas for customization include:

  • Adding more words to the word list.
  • Modifying the number of allowed incorrect guesses.
  • Enhancing the user interface.

Contributions

Contributions to improve the game or add new features are welcome. If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them with clear and concise commit messages.
  4. Create a pull request, detailing the changes you made and why they should be merged.

Acknowledgments

I would like to express my gratitude to WBS Coding School for providing me with the opportunity to work on this project and improve my Python programming skills.

Contact

If you have any questions or suggestions regarding this project, please feel free to reach out to me:

About

A Python-based Hangman game, created during my second week at a data science bootcamp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages