Welcome to Fun Hub, a mega project built entirely in Python that lets you play 20 classic mini-games — all from your Command Prompt (CMD) or Terminal.
No extra installs, no graphics, no web frameworks — just pure Python fun! 🐍🎲
Fun Hub is a single, menu-driven Python application that allows players to choose from a collection of 20 simple yet entertaining text-based games.
It’s perfect for beginners to explore logic building, conditionals, loops, and functions — all in one interactive program.
This project was created for educational purposes and is ideal for Python learners, school submissions, and mini-project showcases.
| # | Game Name | Description |
|---|---|---|
| 1 | Number Guessing | Guess the number chosen by the computer |
| 2 | Rock Paper Scissors | Classic game vs computer |
| 3 | Quiz Game | Test your general knowledge |
| 4 | Dice Roller | Roll a six-sided dice |
| 5 | Math Quiz | Quick arithmetic challenges |
| 6 | Word Scramble | Unscramble the jumbled word |
| 7 | Coin Toss | Heads or Tails game |
| 8 | Multiplication Game | Test your multiplication skills |
| 9 | Even or Odd Checker | Check if a number is even or odd |
| 10 | Lucky Draw | Try your luck at random selection |
| 11 | Password Generator | Create random secure passwords |
| 12 | Temperature Converter | Convert between Celsius and Fahrenheit |
| 13 | Calculator | Basic arithmetic calculator |
| 14 | Palindrome Checker | Check if a word reads the same backwards |
| 15 | Prime Number Checker | Find out if a number is prime |
| 16 | Factorial Finder | Calculate factorials of numbers |
| 17 | Countdown Timer | Set a timer for seconds countdown |
| 18 | Random Story Generator | Generate fun random stories |
| 19 | Hangman | Guess the hidden word before you run out of tries |
| 20 | Tic Tac Toe | Classic 2-player X and O game |
-
Install Python (if not installed):
- Visit https://www.python.org/downloads/
- Download and install Python 3 (check “Add Python to PATH” during setup)
- Verify installation by typing in CMD:
python --version
-
Download or Copy the Project File:
- Save the file as
fun_hub.pyon your Desktop.
- Save the file as
-
Open Command Prompt:
- Press
Windows + R, typecmd, and hit Enter.
- Press
-
Navigate to the Desktop:
cd Desktop -
Run the Game:
bash python fun_hub.py
-
Enjoy! The menu will appear — just enter the number of the game you want to play!
If you don’t want to install anything, you can also run this on Replit:
- Go to https://replit.com
- Create a new Python project
- Copy-paste the code of
fun_hub.py - Click Run ▶ Play instantly from your browser!
-
Language: Python 3
-
Interface: Command-Line (Text-based)
-
Libraries Used:
- random
- time
- string
- Functions and Modular Programming
- Loops and Conditionals
- Randomization and Logic Design
- Menu-Driven Program Flow
- Input Validation
- String and Number Manipulation
Luvansh Kashyap 📍 Delhi, India 💬 "Learning, coding, and having fun — one project at a time."
Choose a game to play:
- Number Guessing
- Rock Paper Scissors
- Quiz Game ...
- Tic Tac Toe
- Exit
Enter your choice: 1 Guess the number between 1 and 50! Enter your guess: 27 Too low! Try again. ... Congratulations! You guessed it!
This project is open-source and free to use for learning and educational purposes.
✨ If you like this project, please give it a ⭐ on GitHub!