Welcome to my collection of Python mini-projects! This repository features small, functional Python scripts focused on learning through doing. Each project is beginner-friendly and demonstrates fundamental programming concepts like loops, conditionals, functions, file handling, and simple game logic.
All scripts are located in the Mini-Projects folder:
- 🧠 madlibsGenerator.py – Fills in a story template with user inputs for nouns, verbs, etc.
- ➗ mathChallenge.py – Presents random arithmetic problems for the user to solve.
- 🔢 numberGuessingGame.py – User tries to guess a randomly generated number.
- 🔐 passwordManager.py – Stores and retrieves passwords from a local text file.
- 🐖 pig.py – A terminal version of the classic dice game "Pig."
- ❓ quizGame.py – A quiz game with multiple-choice questions.
- ✊ rockPaperScissors.py – A CLI version of the rock-paper-scissors game.
- 🎰 slotMachine.py – Simulates a slot machine with emoji-like output.
- 🚀 spaceAdventureGame.py – A text-based space exploration game with user choices.
-
Clone the repository:
git clone https://github.com/Daksh-Aggarwal/Python-Mini-Projects.git
-
Navigate to the
Mini-Projectsfolder:cd Python-Mini-Projects/Mini-Projects -
Run any script:
python script_name.py
All projects use only the Python standard library — no extra installations required.
passwords.txt– Used by the password manager to store data.story.txt– Template story used in the madlibs generator.
Contributions are welcome! If you have suggestions for improvements or additional features, feel free to fork the repository and submit a pull request. Please ensure your code is well-documented and follows the existing style.
If you find this repository helpful, please consider starring ⭐ it on GitHub! Your support motivates me to keep improving and sharing more resources.
If you have any questions or feedback, feel free to reach out to me on GitHub!
Thank you for checking out my C programming practice repository. Happy coding! 😊