Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Task 01 – Hangman Game

Student: bharat singh chouhan
Student ID: CA/DE1/1099
Domain: Python Programming
Internship Duration: 1 Dec 2025 – 30 Dec 2025

Project Description

This is a simple text-based Hangman game built as part of the CodeAlpha Internship.
The player has 6 attempts to guess a randomly selected word from a list.

Features

  • Random word selection
  • 6 incorrect attempts allowed
  • Tracks used letters
  • Console-based interaction

How to Run

  1. Open terminal
  2. Go to the project folder
  3. Run:

Technologies Used

  • Python
  • Random module

Output Example

Attempts remaining: 6 Used letters: **** Enter a letter: l ✅ Good guess! Current word: L _ _ _ _

Attempts remaining: 6 Used letters: L Enter a letter: o ✅ Good guess! Current word: L O _ _ _

Attempts remaining: 6 Used letters: L, O Enter a letter: g ✅ Good guess! Current word: L O G _ _

Attempts remaining: 6 Used letters: G, L, O Enter a letter: i ✅ Good guess! Current word: L O G I _

Attempts remaining: 6 Used letters: G, I, L, O Enter a letter: c ✅ Good guess! Current word: L O G I C

🎉 CONGRATULATIONS! You guessed the word: LOGIC

About

python Hangman Game built for Codealpha Internship task 1.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages