Welcome to PythonProgramsV3 โ the upgraded successor to V2!
A growing collection of Python scripts, experiments, and projects โ now even cleaner, faster, and better organized.
๐ Total lines of code: 1794 ๐ Number of Python files: 48
๐ Last updated: 2026-01-02 21:49 UTC
Roll the dice! Probability, randomization, and game mechanics.
| Program | Description |
|---|---|
Dice/dice.py |
๐ฒ Simple dice roller โ generates random number 1-6 |
Dice/RollTheDice.py |
๐ฎ Interactive guessing game with difficulty levels (Easy/Medium/Hard) |
Dice/Dice Part 2.py |
๐จ ASCII art dice display โ visual 5-sided dice representation |
Math operations, puzzles, quizzes, and numerical logic.
| Program | Description |
|---|---|
| Core Math | |
Number/DataTypes.py |
๐ Demonstrates division, modulo, and exponentiation |
Number/VAT.py |
๐ท Calculate VAT (Value Added Tax) on totals |
Number/VolumeOfSphere.py |
๐ต Calculate sphere volume from radius |
Number/heart.py |
โค๏ธ Calculate human heart flow rate |
| Sequences & Series | |
Number/Fibonacci.py |
๐ข Generate Fibonacci sequence up to n terms |
Number/times tables.py |
๐ Multiplication table generator (1-10) |
| Games & Puzzles | |
Number/numbergame.py |
๐ฏ Guess the number (1-800) โ classic guessing game |
Number/Lucky.py |
๐ Calculate your lucky number from birth date |
Number/mathsquiz.py |
๐ง Interactive quiz with math problems |
| Snakes & Ladders | |
Number/S&L1Player.py |
๐ Single-player Snakes & Ladders โ reach square 100 |
Number/S&L2Player.py |
๐ฅ Two-player Snakes & Ladders with competitive gameplay |
Number/EnhancedS&L.py |
โญ Modern version with type hints and better structure |
| Other Games | |
Number/Monster Duelz.py |
โ๏ธ Turn-based RPG combat โ attack/defend/heal mechanics |
Number/TerminalDriftGame.py |
๐๏ธ Racing game with upgrades, rivals, and progression system |
| Validation & Logic | |
Number/Age.py |
๐ Age eligibility checker (16+ verification) |
Number/Month.py |
๐ Validate month number (1-12) |
Number/YearGroups.py |
๐ Determine Key Stage from year group |
Number/Hertz.py |
๐ Audio quality checker (CD vs compressed) |
Number/discount.py |
๐ธ Calculate discounted prices with custom rates |
Number/heads vs tails.py |
๐ช Flip a coin 100 times โ track heads/tails |
Number/float.py |
๐ข Simple float multiplication demo |
Number/FortuneTeller.py |
๐ฎ Random fortune generator with 5 different outcomes |
Full-featured games with complex mechanics and user interaction.
| Program | Description |
|---|---|
Other Programs/TerminalQuizShowdown.py |
๐ Multi-category quiz with streak system, difficulty scoring, and final boss round |
Other Programs/basketball.py |
๐ Basketball game simulator with quarters, team scores, and play-by-play |
Number/TerminalDriftGame.py |
๐๏ธ Racing game with track generation, upgrades, rivals, and save progress |
String manipulation, text processing, and data extraction.
| Program | Description |
|---|---|
Other Programs/Code.py |
๐ Find substring position in a phrase |
Other Programs/Story.py |
๐ Extract substring using slice notation |
Other Programs/Name.py |
๐ค Validate user input (names with regex) |
system/encrypting_tool.py |
๐ Multi-method encryption (Caesar, Vigenรจre, ROT13, Base64, Morse) |
Easter eggs, jokes, and entertainment.
| Program | Description |
|---|---|
Other Programs/MyFirstProgram.py |
๐ฌ First Python program โ cheeky message |
Other Programs/Countries.py |
๐ Guess the country between London and Japan |
Other Programs/FootballTeam.py |
โฝ Guess the favorite football team (Manchester City themed) |
File management, productivity tools, and system helpers.
| Program | Description |
|---|---|
system/FileSorter.py |
๐ Auto-organize downloads by file type (images, docs, code, archives, etc.) |
system/MoodMusicSuggester.py |
๐ต Get song recommendations based on your mood (happy, sad, chill, etc.) |
system/TypingSpeedTest.py |
โจ๏ธ Test your typing speed (WPM) and accuracy with performance ratings |
system/TheZenOfPython.py |
๐ง Interactive guide to Python's philosophy (PEP 20) |
system/Username.py |
๐ Generate usernames from name + birth year |
system/comic(ig).py |
๐ Easter egg โ opens XKCD comic (antigravity) |
Practical applications simulating everyday situations.
| Program | Description |
|---|---|
Number/Waiter.py |
๐ฝ๏ธ Restaurant seating simulator โ tip determines service quality |
system/executingSystemCommands.py |
๐ฅ๏ธ Demonstrate subprocess methods to run system commands |
Working with dictionaries, lists, and complex data.
| Program | Description |
|---|---|
Other Programs/DictCommand.py |
๐ Full-featured car database with nested data (specs, owners, age calculation) |
Password verification and access control.
| Program | Description |
|---|---|
Other Programs/Security.py |
๐ Password-protected system access demo |
Working with datetime and time formatting.
| Program | Description |
|---|---|
Number/time.py |
๐ Display current date/time in multiple formats (24hr, 12hr, day of week, etc.) |
Iteration and collection operations.
| Program | Description |
|---|---|
Other Programs/loops.py |
๐ Simple fruit list with for-loop iteration |
# Clone the repository
git clone https://github.com/TheM1ddleM1n/PythonProgramsV3.git
cd PythonProgramsV3
# Install dependencies (optional, most scripts have minimal deps)
pip install -r requirements.txt # if available
# Run any program
python Number/numbergame.py
python Other\ Programs/TerminalQuizShowdown.py
python Dice/RollTheDice.pyNo Python installed? No problem!
Use Trinket.io to run any script directly in your browser.
๐ Recommended: Use Python 3.11+ for full compatibility and new features.
| Name | Role | Description |
|---|---|---|
| TheM1ddleM1n | Creator & Maintainer | The mastermind behind PythonProgramsV3! |
| cclauss | Contributor | Python 3 wizardry & linting expertise! |
| ActionsUser | Bot | Keeps the README.md updated! |
| British Banter Bot ๐ฌ๐ง | Fun Bot | Generates British-flavoured status messages! |
| Metric | Status | Details |
|---|---|---|
| Code Style | โ Black | Consistent formatting |
| Linting | โ Ruff | Error checking & best practices |
| Spell Check | โ Codespell | Documentation accuracy |
| Type Hints | โณ In Progress | Modern programs have them; legacy code being updated |
| Test Coverage | ๐ Planned | Interactive tests for each program |
Got ideas, issues, or improvements?
Feel free to open a PR or issue, and I'll get back to you as soon as possible!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-program) - Commit your changes (
git commit -m 'Add amazing program') - Push to the branch (
git push origin feature/amazing-program) - Open a Pull Request
This project is open source and available under the MIT License.
"Code. Test. Improve. Repeat."
โ TheM1ddleM1n
Happy coding! ๐โจ