Skip to content

Farzand-Ali16/CodeAlpha_Python_Tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎯 Task 1 β€” Hangman Game (CodeAlpha Python Internship)

πŸ“˜ Overview

This is a simple text-based Hangman game created as part of the CodeAlpha Python Internship program.
The player guesses letters to uncover a hidden word within a limited number of attempt

🧩 Features

  • Randomly selects one word from a predefined list.
  • Allows up to 6 incorrect guesses.
  • Displays progress with underscores for unguessed letters.
  • Detects repeated guesses and prevents penalties.
  • Simple console-based interface β€” no graphics required.

🧠 Concepts Used

  • random β€” for choosing a random word.
  • while loop β€” to control the game flow.
  • if-else β€” to check correct or wrong guesses.
  • Strings and Lists β€” to display letters and track guesses.

βš™οΈ How to Run

  1. Clone or download this repository:
    git clone https://github.com/Farzand-Ali16/CodeAlpha_Python_Tasks.git

About

My CodeAlpha Python Internship Projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages