KBC Game Using Python Language
• A Python-based Quiz Game Inspired by 'Kaun
Banega Crorepati'
• Presented By: [Your Name]
• Course/College: [Your Course & College]
• Date: [Submission Date]
Introduction
• KBC (Kaun Banega Crorepati) is a quiz-based
game show.
• This project replicates the KBC game using the
Python programming language.
• Focuses on logic building, user interaction,
and conditional programming.
Project Objectives
• Develop a simple quiz game in Python.
• Implement lifelines similar to KBC (e.g., 50-50,
audience poll).
• Practice input/output, loops, functions, and
data structures.
• Provide a user-friendly interface in the
terminal.
Tools & Technologies Used
• Programming Language: Python 3.x
• IDE: VS Code / PyCharm / IDLE
• Libraries Used:
• - random – for lifeline randomness
• - time – to add delay effects
• - sys – for exiting the game gracefully
Game Features
• Multiple choice questions with four options.
• Lifelines: 50-50, Audience Poll.
• Score tracking.
• Levels of increasing difficulty.
How the Game Works
• User selects an option from A/B/C/D.
• Correct answer: moves to next question.
• Incorrect answer: game ends.
• Lifelines can be used only once.
Code Structure
• Main Sections:
• - Question Bank (List of dictionaries)
• - Display function
• - Answer check function
• - Lifeline logic
• - Main game loop
Sample Code Snippet
• questions = [
• {"ques": "Capital of India?",
• "options": ["[Link]", "[Link]",
"[Link]", "[Link]"],
• "answer": "A"}
• ]
• def ask_question(q):
• print(q["ques"])
• for opt in q["options"]:
Challenges Faced
• Designing a dynamic question bank.
• Avoiding code repetition.
• Implementing lifeline logic.
• Ensuring input validation.
Output Screenshots
• (*Add 2–3 terminal screenshots of your game
running manually in the final version*)
Conclusion
• Successfully created a quiz-based game using
core Python.
• Learned real-world application of conditional
logic and loops.
• Could be enhanced with GUI or database
integration.
Future Scope
• Add GUI using Tkinter or PyQt.
• Use a database for question storage.
• Add timer and background music.
Thank You
• Any Questions?
• Contact: [Your Email or Roll Number]