I have a repo dedicated to simple coding projects that take anywhere from 15 minutes to an afternoon to develop–these are my python “minis”. No mini is too mini, but I still take the time to reflect on each on and emphasise which key concepts I cover.
Check out the repo 👇#
Or just want browse the README.md 👇#
🍬 Minis 🍬#
This is my repository of mini Python projects.
Mini #1: Rolling dice 🎲#
In this dice rolling simulator, my objective is pretty self-explanatory: write a programme that simulates rolling dice. When executed, the programme will ask to determine how many sides you would like your dice to have. It will then prompt you to roll when ready and load as the dice ‘rolls’. After displaying the rolled value, the programme will ask you if you’d like to roll again.
Concepts within this mini:#
- Random
- Integer
- While Loops
- Handling Exceptions
- Handling inputs
- Time
Mini #2: Mad Libs! 😝#
In this programme, the user is prompted to input certain word classes, like a noun, adjective, etc. A word list is accumulated and then the final text is printed with the user’s suggested words in place of the blanks. Only one mad lib text is available.
Concepts within this mini:#
- String
- Dictionary
- Loops
- Handling inputs
- Time
Mini #3: Rock 💎 … Paper 📄 … Scissors ✂️#
In this programme, the user plays a game of Rock, Paper, Scissors with a computer. The computer generates one of the options at random per round. The game ends once one player reaches 3 points.
Concepts within this mini:#
- Random
- String
- Dictionary
- Loops
- Handling inputs
- Handling exceptions
- Time
Mini #4: WHAT DO YOU MEME? 💬#
As my friends and I look for our go-to boardgames online, I decide to take a shot at stitching one of our favourites using Python: What Do You Meme? For now, this program will shuffle a “deck” of memes and a “deck” of texts to match. Display a meme image, deal 3 text cards to the player and request them to choose the most appropriate text to match the image for a final meme. These three choices are printed to the console. Once a ‘winning card’ is selected, it will be printed onto a card and displayed. Then, this winning card will be concatenated with the original meme image and presented as a final winning meme.
| Concepts within this mini: | Output |
|---|---|
| ![]() |
Mini #5: DNA 🔬#
Concepts within this mini:#
- Random
- String
- Dictionary
- File read
Mini # 6: Koch Curve and Fun with Fractals using Turtle 🐢#
I came across fractals again yesterday and thought it would be a good Mini to code using Python’s Turtle graphics library. A Fractal in mathematics is a curve or geometric shape that is made up of self-similar subsets. Fractals emerge frequently in nature, like in snowflakes. Fractal dimension can be used to describe surface roughness (like the geographic borders of my 6th grade fictional island - Serendipity 🤦♀️) They are also very mathemagical and pretty and can be coded nicely using recursive functions!
| Concepts within this mini: | Output |
|---|---|
| ![]() |
Mini # 7: Boids flocking simulation 🐦#
!!!!!!!
| Concepts within this mini: | Output |
|---|---|
| ![]() |
Mini # 8: L-system 🌲#
| Concepts within this mini: | Output |
|---|---|
|


