This repository contains fun and simple Python-based mini games playable via the command line. Great for beginners who want to understand input/output handling, randomization, and control structures in Python.
Guess the randomly generated number in as few attempts as possible. The game gives you hints whether your guess is too high or too low — perfect for practicing loops and conditions!
➡️ File: Perfect_guess_game.py
A Python version of the classic "Rock Paper Scissors" — but with a twist! Snake drinks water, water drowns gun, and gun kills snake. You play against the computer with randomized moves.
➡️ File: Snake_water_gun_game.py
git clone https://github.com/Khanakag-17/Python-Games.git
cd Python-Games
Perfect Guess Game:
python Perfect_guess_game.py
Snake Water Gun Game:
python Snake_water_gun_game.py
Make sure you have Python 3.x installed.
Perfect Guess Game
Welcome to the Perfect Guess Game!
Guess the number between 1 and 100:
Your guess: 50
Too high! Try again.
...
Correct! You guessed it in 6 tries 🎉
Snake Water Gun Game
Your Turn: Snake(S) Water(W) or Gun(G)? s
Computer chose: g
You lose! Gun kills snake.