Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 3.05 KB

README.md

File metadata and controls

80 lines (56 loc) · 3.05 KB

Kaun Banega Crorepati (KBC) Game 🎉

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.

🧐 About the Game

The KBC Game simulates the thrilling experience of the original KBC show, complete with multiple-choice questions, lifelines (quitting), and a progressive prize structure.

Features:

•	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.

📝 Game Rules

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! 

📂 Project Structure

•	kbc.py: Main Python script containing the game logic.
•	Dependencies:
•	emoji for adding fun visual cues.
•	colorama for colorful terminal outputs.

🚀 How to Play

Prerequisites:

Ensure you have Python installed on your system. Install dependencies with:

pip install colorama
pip install emoji

Run the Game:

Clone the repository and execute the script:

python kbc.py

🌟 Key Highlights

•	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.

🛠️ Built With

•	Python: Core programming language.
•	Colorama: For styling terminal text with colors.
•	Emoji: To make the game engaging with emojis.

🎯 Future Enhancements

•	Add lifelines (e.g., 50-50, audience poll).
•	Implement a leaderboard to track high scores.
•	Extend the question bank for greater variety.

📜 License

This project is licensed under the MIT License - feel free to contribute and build upon it.

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork the repository and submit pull requests.

📧 Contact

For any inquiries or suggestions, please reach out to me at goyamjain02@gmail.com.