Skip to content

Latest commit

 

History

History
91 lines (60 loc) · 2.56 KB

README.md

File metadata and controls

91 lines (60 loc) · 2.56 KB

KBC Game

Welcome to the KBC Game, a Python implementation of the popular quiz show "Kaun Banega Crorepati" (KBC). This simple console-based game challenges players with a series of multiple-choice questions. Answer correctly to advance to the next level and earn virtual prize money.

Features

  • Multiple Levels: Progress through levels by answering questions correctly.
  • Prize Money: Earn increasing amounts of virtual money as you advance.
  • Quit Option: Game ends if you answer incorrectly.

Installation

No special installation is required to run this game. Just ensure you have Python installed on your system.

  1. Clone the Repository:

    git clone https://github.com/snehas-05/kbc-game.git
  2. Navigate to the Project Directory:

    cd kbc-game
  3. Run the Game:

    To start the game, execute the following command in your terminal:

    python kbc_game.py

How It Works

  1. Game Setup: The game starts with a welcome message and instructions.
  2. Question Display: The game displays a question with multiple-choice answers.
  3. User Input: Players input their answer choice (A, B, C, or D).
  4. Answer Validation: The game checks if the answer is correct.
  5. Level Progression: Correct answers advance players to the next level and increase their prize money.
  6. Game Over: An incorrect answer ends the game and displays the total prize money earned.

Game Flow

  • Levels: The game has a set number of levels, each with a question and multiple-choice options.
  • Prize Money: Prize money increases with each level.
  • Quit Option: The game ends if the player answers a question incorrectly.

Example

Welcome to the KBC Game!
You will be asked some questions. Answer correctly to move to the next level.

Let's start!

Level 1: What is the capital of India?
A. Panaji
B. Maharashtra
C. Delhi
D. Sikkim

Your answer (A, B, C, D): C
Correct! You've moved to the next level.

Level 2: Which is the largest continent in the World?
A. America
B. Asia
C. Africa
D. Europe

Your answer (A, B, C, D): B
Correct! You've moved to the next level.

...

Congratulations! You've reached level X. Your final amount is $XXXX. You'll be taking this amount with you!

Contributing

Contributions are welcome! If you have suggestions for new features or improvements, please fork the repository and submit a pull request. For bug reports or feature requests, open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions or feedback, please contact [snehasinghania005@gmail.com].