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.
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.
- 💡 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
kbc-game/ │ ├── Data_KBC.py # Stores all questions and answers ├── kbc_game.py # Main game logic and flow └── README.md # Project documentation
- Python 3.12
- Key Concepts:
- Object-Oriented Programming (OOP)
- Functions
- Conditional Statements
- Loops
- File Handling
- Exception Handling
- Modular Code Structure (multi-file project)
Prakash Pandey
🎓 BCA Student | 📊 Aspiring Data Engineer | 💻 Python Developer
🔗 Connect on LinkedIn
📫 Always open to feedback, collaboration, and opportunities!
This project is open source and available under the MIT License (add a license file if applicable)