Skip to content

TheM1ddleM1n/PythonProgramsV3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ PythonProgramsV3

Welcome to PythonProgramsV3 โ€” the upgraded successor to V2!
A growing collection of Python scripts, experiments, and projects โ€” now even cleaner, faster, and better organized.


๐Ÿงฐ Tech Stack & Tools

Code Style: Black Linter: Ruff Spellcheck: Codespell CI British Banter Bot ๐Ÿ‡ฌ๐Ÿ‡ง Python Version


๐Ÿ“ฆ Repository Stats

GitHub Stars GitHub Forks GitHub Repo Size GitHub Commit Activity

๐Ÿ“„ Total lines of code: 1794 ๐Ÿ Number of Python files: 48

๐Ÿ•’ Last updated: 2026-01-02 21:49 UTC


๐Ÿ“‚ Program Categories

๐ŸŽฒ Dice Games (4 programs)

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

๐Ÿ”ข Number Programs (22 programs)

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

๐ŸŽฎ Interactive Games & Simulations (3 programs)

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 & Text Programs (4 programs)

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)

๐ŸŽจ Creative & Fun Programs (3 programs)

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)

๐Ÿ”ง System Tools & Utilities (6 programs)

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)

๐Ÿท Real-World Scenarios (2 programs)

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

๐Ÿ“– Data Structures & Collections (1 program)

Working with dictionaries, lists, and complex data.

Program Description
Other Programs/DictCommand.py ๐Ÿš— Full-featured car database with nested data (specs, owners, age calculation)

๐Ÿ”’ Security & Authentication (1 program)

Password verification and access control.

Program Description
Other Programs/Security.py ๐Ÿ” Password-protected system access demo

๐Ÿ“… Time & Date Programs (1 program)

Working with datetime and time formatting.

Program Description
Number/time.py ๐Ÿ• Display current date/time in multiple formats (24hr, 12hr, day of week, etc.)

๐Ÿ“š List & Loop Programs (1 program)

Iteration and collection operations.

Program Description
Other Programs/loops.py ๐ŸŽ Simple fruit list with for-loop iteration

๐ŸŒŸ Quick Start Guide

๐Ÿ’ป Run Locally

# 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.py

๐ŸŒ Run in Browser

No 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.


๐Ÿ‘ฅ Contributors

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!

๐ŸŽฏ Code Quality Metrics

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

๐Ÿ’ฌ Feedback & Contributions

Got ideas, issues, or improvements?
Feel free to open a PR or issue, and I'll get back to you as soon as possible!

How to Contribute

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-program)
  3. Commit your changes (git commit -m 'Add amazing program')
  4. Push to the branch (git push origin feature/amazing-program)
  5. Open a Pull Request

๐Ÿ“œ License

This project is open source and available under the MIT License.


"Code. Test. Improve. Repeat."
โ€” TheM1ddleM1n

Happy coding! ๐Ÿโœจ

About

Upgraded version of V2 PythonPrograms!

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages