Skip to content

Tarakes333/QuizeGame-Java-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Here is a suitable README file content to upload in your GitHub repository for the Java KBC Quiz Game project you shared:


KBC Quiz Game (Java Console Application)

This is a simple console-based quiz game inspired by the popular Indian TV show Kaun Banega Crorepati (KBC). The game is implemented in Java and simulates a 15-question multiple-choice quiz with increasing prize money levels, similar to the real show.

Features

  • 15 multiple-choice questions with 4 options each (A, B, C, D)
  • Progressive prize money levels, culminating in ₹1 Crore for all correct answers
  • Immediate feedback on answers (correct/wrong)
  • Game ends on the first wrong answer, with milestone prize protection
  • Simple and interactive console input/output interface

How to Run

  1. Ensure you have Java installed (JDK 8 or above recommended).
  2. Download or clone the repository.
  3. Compile the code using the command:
    javac QuizGame.java
    
  4. Run the program using:
    java QuizGame
    
  5. Follow the prompts to answer the questions.

Code Structure

  • QuizGame.java - Main class containing the quiz logic and question data.
  • Question inner class - Defines the question, options, and the correct answer.

Customization

  • Questions and answers are hardcoded in the createQuestions() method.
  • You can modify or extend the list of questions as per your needs.
  • For a more advanced version, questions can be loaded from an external JSON file or database.

Credits

Inspired by the Kaun Banega Crorepati TV show format. The project is a practice exercise aimed at beginners learning Java programming and object-oriented concepts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages