Skip to content

SrushteeG/CodeAlpha_HangmanGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

CodeAlpha_HangmanGame

This is a simple text-based Hangman game developed as part of the CodeAlpha Python Programming Internship. The goal of this project is to apply fundamental Python concepts to build an interactive command-line game where the user guesses a randomly selected word one letter at a time.

Hangman Game — CodeAlpha Internship Task 1

Features

  • Uses a list of 5 predefined tech-related words
  • Random word selection using Python’s random module
  • Allows up to 6 incorrect guesses
  • Console-based interface with clear prompts
  • Tracks and displays correct and incorrect guesses

Concepts Used

  • random module
  • while loop
  • if-else statements
  • Lists and strings
  • User input/output (input() and print())

How to Run

  1. Make sure you have Python 3.x installed.
  2. Download or clone this repository.
  3. Open a terminal in the project directory.
  4. Run the following command:
python hangman.py

About

This is a simple text-based Hangman game developed as part of the CodeAlpha Python Programming Internship. The goal of this project is to apply fundamental Python concepts to build an interactive command-line game where the user guesses a randomly selected word one letter at a time.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages