Skip to content

luvansh77/python_fun_hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

🎮 Fun Hub — The Ultimate Command-Line Game Collection

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! 🐍🎲

🧩 About the Project

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.

🕹️ Games Included

# 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

💻 How to Run

🪟 Run Locally (Windows CMD)

  1. 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
  2. Download or Copy the Project File:

    • Save the file as fun_hub.py on your Desktop.
  3. Open Command Prompt:

    • Press Windows + R, type cmd, and hit Enter.
  4. Navigate to the Desktop:

    cd Desktop
    
    
  5. Run the Game:

    bash python fun_hub.py

  6. Enjoy! The menu will appear — just enter the number of the game you want to play!


🌐 Run Online (Optional)

If you don’t want to install anything, you can also run this on Replit:

  1. Go to https://replit.com
  2. Create a new Python project
  3. Copy-paste the code of fun_hub.py
  4. Click Run ▶ Play instantly from your browser!

⚙️ Tech Stack

  • Language: Python 3

  • Interface: Command-Line (Text-based)

  • Libraries Used:

    • random
    • time
    • string

🧠 Concepts Used

  • Functions and Modular Programming
  • Loops and Conditionals
  • Randomization and Logic Design
  • Menu-Driven Program Flow
  • Input Validation
  • String and Number Manipulation

🧑‍💻 Author

Luvansh Kashyap 📍 Delhi, India 💬 "Learning, coding, and having fun — one project at a time."



🪄 Sample Run (Preview)

Welcome to Fun Hub! 🎮

Choose a game to play:

  1. Number Guessing
  2. Rock Paper Scissors
  3. Quiz Game ...
  4. Tic Tac Toe
  5. Exit

Enter your choice: 1 Guess the number between 1 and 50! Enter your guess: 27 Too low! Try again. ... Congratulations! You guessed it!

📄 License

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!

About

Luvansh Kashyap - python_fun_hub ⭐ A Python command-line game hub featuring 20 fun mini-games!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages