A collection of small command-line games built with Python.
I created these games while practicing Python and improving my understanding of programming fundamentals. Each game helped me apply concepts such as conditions, loops, functions, user input, randomization, and basic game logic through practical projects.
This repository will continue to grow as I learn and build more Python projects.
- Rock Paper Scissors
- Gambling Game
- Hangman Game
python-mini-games/ │ ├── rock-paper-scissors/ │ └── main.py │ ├── gambling-game/ │ └── gambling_game.py │ └── hangman-game/ └── hangman.py
- Python 3
- Variables
- Conditional Statements
- Loops
- Functions
- User Input
- Randomization
- Basic Game Logic
- Problem Solving
Clone the repository:
git clone https://github.com/ahmedraza-devs/python-mini-games.git
Open the repository:
cd python-mini-games
Choose any game folder and run its Python file.
For example:
cd rock-paper-scissors python main.py
For the other games, open their respective folders and run the Python file inside.
This repository is part of my Python learning journey. I am building small games to practice programming concepts and improve my problem-solving skills through hands-on projects.
More Python projects and mini games will be added as I continue learning.
Ahmed Raza