Skip to content

A Python console game inspired by Kaun Banega Crorepati, where players answer multiple-choice questions with increasing prize money and the game ends on a wrong answer.

License

Notifications You must be signed in to change notification settings

prakashpandey16/KBC_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Kaun Banega Crorepati (KBC) – Python Console Game

Welcome to the Kaun Banega Crorepati (KBC) Python console game!
Inspired by the legendary Indian quiz show, this game challenges your general knowledge through an engaging multiple-choice format with a dynamic prize ladder.


🧠 About the Project

This is a console-based quiz game developed using Python, where:

  • 🎯 Players answer 15 multiple-choice general knowledge questions.
  • 💰 Prize money increases with each correct answer.
  • ❌ A single wrong answer ends the game, and your total winnings are displayed.
  • ✅ Includes input validation, error handling, and a modular code structure.

🛠️ Features

  • 💡 15 curated general knowledge questions
  • 📈 Progressive prize ladder (just like the real KBC)
  • 🔁 Option to replay the game
  • 📂 Modular design with separate data and logic files
  • 📄 File handling for storing game results (optional/if implemented)
  • 🚫 Game ends immediately on a wrong answer

📂 Project Structure

kbc-game/ │ ├── Data_KBC.py # Stores all questions and answers ├── kbc_game.py # Main game logic and flow └── README.md # Project documentation

🐍 Technologies Used

  • Python 3.12
  • Key Concepts:
    • Object-Oriented Programming (OOP)
    • Functions
    • Conditional Statements
    • Loops
    • File Handling
    • Exception Handling
    • Modular Code Structure (multi-file project)

👨‍💻 Author

Prakash Pandey
🎓 BCA Student | 📊 Aspiring Data Engineer | 💻 Python Developer

🔗 Connect on LinkedIn
📫 Always open to feedback, collaboration, and opportunities!


📜 License

This project is open source and available under the MIT License (add a license file if applicable)


About

A Python console game inspired by Kaun Banega Crorepati, where players answer multiple-choice questions with increasing prize money and the game ends on a wrong answer.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages