Skip to content

Aalshawi23/Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Hat and Ball Guessing Game 🎩🎱

Hi! I’m Alaa, and this is one of my first Python projects.
It’s a fun little console game where you try to guess which hat hides the ball (O).

How to Play

  1. The game shuffles three hats — only one hides the ball (O).
  2. Pick a number: 0, 1, or 2.
  3. The game will tell you if you guessed correctly.
  4. You can play again as many times as you like — it’s super fun!

Features I Loved Building

  • Interactive console game that actually responds to you 🎉
  • Uses functions, loops, and conditionals — all beginner-friendly Python concepts
  • Modular code structure that’s easy to read and expand
  • Teaches how to combine multiple functions and user input

Installation

Make sure you have Python 3 installed. You can download it here: python.org.

Run the Game

  1. Clone this repository or download the files.
  2. Open a terminal in the project folder.
  3. Run the game with:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages