Skip to content

jmusaka1/Projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🕵️‍♀️ Guess the Word

Guess the Word is a simple word guessing game built in Python.
The player tries to guess a randomly selected word one letter at a time, in order. The game provides feedback, tracks progress, and allows the player to give up or replay.

This project was built to practice loops, conditionals, user input validation, and basic game logic in Python.

How the Game Works

  • The computer randomly selects a word from a list
  • The player enters one letter at a time
  • Correct letters are added in order to build the word
  • The game provides feedback after each correct guess
  • The player can:
    • Continue guessing
    • Give up after passing the halfway point
    • Replay after finishing or giving up

Features

  • Random word selection
  • Case handling (uppercase/lowercase formatting)
  • Input validation (only letters allowed)
  • Progress tracking (letters remaining)
  • Telling you when you reach the halfway-point
  • Option to give up after reaching halfway
  • Replay system for multiple rounds

Built With

  • Python 3
  • random module
  • math module

How to Run

  1. Make sure you have Python installed
  2. Download or clone this repository:
    git clone https://github.com/jmusaka1/Guess-the-Word.git is a simple terminal-based word guessing game built in Python.
    
    
    

What I Learned

  • How to use loops effectively for game flow control
  • How to validate user input in real time
  • How to track progress using variables and counters
  • How to structure a simple game in Python
  • How to implement replay functionality

Future Improvements

  • Add difficulty levels (easy, medium, hard)
  • Add a scoring system
  • Expand word categories (animals, colors, countries)
  • Limit number of attempts per word

📝 To-Do List

This is a simple command-line To-Do List application built in Python.
It allows users to create a list of tasks, add new tasks, delete tasks, and view their final list when they are done.

The project was built to practice working with lists, loops, conditionals, and user input in Python.

Features

  • Create a task list from user input
  • Add new tasks dynamically
  • Delete tasks by index
  • Continuous menu loop for editing tasks
  • Clean display of final to-do list
  • Simple and interactive command-line interface

Built With

  • Python 3
  • Built-in data structures (lists, loops, enumerate)

How to Run

  1. Make sure Python is installed on your computer
  2. Download or clone this repository:
    git clone https://github.com/jmusaka1/todo-list-app.git
    
    
    

How It Works

  1. The user enters initial tasks separated by commas
  2. The program stores them in a list
  3. The user can:
    • Add new tasks (a)
    • Delete tasks by index (d)
    • Quit and view the final list (q)
  4. The program loops until the user chooses to quit

What I Learned

  • How to work with Python lists in real applications
  • How to use loops to create interactive programs
  • How to handle user input and validation
  • How to use enumerate() for indexing list items
  • How to build a simple CLI (command-line interface)

Future Improvements

  • Add task numbering when displaying the list
  • Allow deleting tasks by name (not just index)
  • Add ability to mark tasks as completed instead of deleting
  • Prevent duplicate tasks
  • Save tasks to a file so they persist after closing the program
  • Improve input validation (handle invalid numbers gracefully)

By Jenneba

About

This repository includes a word guessing game and a to-do list where you can add and delete tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages