Skip to content

A word guessing game written in python for learning purposes

Notifications You must be signed in to change notification settings

TKaburu/the-guessing_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Guessing Game

This is a simple console-based word guessing game implemented in Python. The game randomly selects a word from a predefined list, and the player has to guess the letters in the word within a limited number of attempts. The game provides feedback on correct and incorrect guesses, displaying the current progress and the letters guessed so far.

Getting Started

These instructions will help you set up and run the game on your local machine.

Prerequisites

Installation

  1. Clone the repository:
    git clone https://github.com/TKaburu/the-guessing_game.git
  2. Navigate to the project directory:
    cd the-guessing_game
  3. Run the game:
    python3 guessing_game.py
    

How to Play

  • The game will prompt you to guess a letter.
  • Enter a single letter (capital or lowercase) as your guess.
  • The game will inform you if the letter is correct or incorrect.
  • You have a limited number of attempts (lives) to guess the word correctly.
  • The game displays the current progress, indicating the correctly guessed letters and dashes for unknown letters.
  • Keep guessing until you either guess the word correctly or run out of lives.

Play Again

After the game ends, you will be asked if you want to play again. Enter 'y' for yes or 'n' for no. You can play the game multiple times without restarting the program.

Author

Acknowledgments

  • Inspired by classic word guessing games.
  • This project was created as a learning exercise in Python programming.

About

A word guessing game written in python for learning purposes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages