Welcome to the Kaun Banega Crorepati game, a Python-based trivia challenge inspired by the popular TV show! This interactive command-line game tests your knowledge across various topics while keeping you entertained with a blend of programming, logic, and general knowledge.
The KBC Game simulates the thrilling experience of the original KBC show, complete with multiple-choice questions, lifelines (quitting), and a progressive prize structure.
• Dynamic Question Shuffling: Options for each question are randomized to ensure a fresh experience every time you play.
• Real-Time Feedback: Instant feedback on your answers with emoji-based visual cues.
• Progressive Difficulty: Questions become increasingly challenging as you progress.
• Prize Structure: Win virtual money for every correct answer, with increasing stakes.
• Quit Option: You can quit anytime and take home your winnings.
1. Start the Game: Launch the game from your terminal to begin the challenge.
2. Questions: Each question has four options (a, b, c, d), and only one is correct.
3. Answering:
• Enter your answer (1-4) or 0 to quit the game.
• If you answer incorrectly, the game ends, and you take home the winnings from the last correct answer.
4. Scoring:
• Win a certain amount of money for each correct answer.
• Progress through 10 levels, with rewards increasing at each level.
5. Winning:
• Successfully answer all questions to win the grand prize or quit before risking it all!
• kbc.py: Main Python script containing the game logic.
• Dependencies:
• emoji for adding fun visual cues.
• colorama for colorful terminal outputs.
Ensure you have Python installed on your system. Install dependencies with:
pip install colorama
pip install emoji
python kbc.py
• Shuffled Options: Each game randomizes the options for questions, preventing memorization and increasing replayability.
• Interactive CLI Design: Enjoy an immersive experience with colorful outputs and emojis.
• Educational Fun: Learn and challenge yourself across diverse topics.
• Python: Core programming language.
• Colorama: For styling terminal text with colors.
• Emoji: To make the game engaging with emojis.
• Add lifelines (e.g., 50-50, audience poll).
• Implement a leaderboard to track high scores.
• Extend the question bank for greater variety.
This project is licensed under the MIT License - feel free to contribute and build upon it.
Contributions, issues, and feature requests are welcome! Feel free to fork the repository and submit pull requests.
For any inquiries or suggestions, please reach out to me at goyamjain02@gmail.com.