Kaun Banega Crorepati banner

Kaun Banega Crorepati

6 devlogs
7h 51m 46s

This is a python program which is similar to the TV show Kaun Banaega Crorepati (Who wants to become a millionaire). There will be 16 Questions starting from easy (5,000 Rs) to gradually reaching the impossible Q16 (7 crore Rs).

This project uses AI

The questions in the question bank are AI-generated. All the code is written by the developer

Demo Repository

Loading README...

namitapathak1983

🌅 DAY 5 - 9th April 2026
Finally!
Finished the project !
I added some formatting and improved user experience.
Now it has completely been finished

Attachment
0
namitapathak1983

🌅 DAY 4 - 21TH MARCH 2026 - Working on adding TIME REGULATION and FIX code
Hello! I am Atharv Pathak from India. I am a 14 years old beginner coder learning python.
Today I used Time module in my code to add time regulations in the game, just like in the real TV show.
I also fixed some code and made it work efficiently.
âś…WHAT I DID
I used Time module which checked if the answer is being given in time. I also added a 1 second pause at the start of each question to make it little dramatic. This involved some debugging too.
I improved the code’s efficiency by removing the repeated usage of the code of asking to play again after loosing or quitting. I modified it and added it to the end of the code to improve efficiency and clarity.
⚠️CHALLENGES
I had to debug a lot while using time module and removing the play again detection. I spent a good amount of time removing the repeated usages of it in the code.
đź§ WHAT I LEARNED

  • Using Time Module
  • Improving clarity of code
    🚀NEXT GOALS
  • Improve Rules and formatting
  • Update Readme on GitHub
Attachment
0
namitapathak1983

🌅 DAY 3 - 20TH MARCH 2026 - Working on making AUDIENCE POLL & 50-50 LIFELINES work together.
Hello! I am Atharv Pathak from India. I am a 14 years old beginner coder learning python.
Today I learned more than working on this project. I learned new concepts which I will apply to this in the upcoming days.
âś…WHAT I DID
I worked on making both of my lifelines work together. If there were no lifelines on one type left, I made an option to choose the other one ( if one has already chosen the lifeline which is not left, there will be an invalid input detection, so I added the option to choose the other lifeline after the invalid input detection.
⚠️CHALLENGES
Not many challenges faced today. I had to do a lot of navigation through so many lines of code while editing the invalid input detection that it all was a mess but I managed it at the end.
đź§ WHAT I LEARNED

  • more about Invalid Input Detection system’s logic

🚀NEXT GOALS

  • Improve code by adding more functions
Attachment
Attachment
0
namitapathak1983

🌅 DAY 2 - 19TH MARCH 2026 - Working on AUDIENCE POLL lifeline

Hello! I am Atharv Pathak from India. I am a 14 years old beginner coder learning python. Today was a day which had ups and downs for me. Today I used some logic to add new features to my KBC game.

âś…WHAT I DID
Initially I thought about neatly writing my code using functions as I was using some blocks of code repeatedly 3-4 times in the code, but that did not work and I was facing a lot of issues in incorporating those codes which I used plainly, in the functions {as I am a beginner obviously}.
So I dropped that plan and decided to add Audience poll to the game. This will help the player if he/she does not know the answer. I have designed it using random module and lists. It has a 75% chance of giving the correct answer.

⚠️CHALLENGES
Firstly, I had to change the name of some variables which I used a lot of time in this code because of adding another lifeline.
Then I had to change the input too, guiding the user to use this new lifeline
I had issues in the Invalid Input detection System
Lastly, when I used Audience Poll, interpreter was registering it as Invalid Input and I had to fix it too.

đź§ WHAT I LEARNED

  • Learned to use random.choice() with Lists.
  • Learned that I have to improve my defining function in python

🚀NEXT GOALS

  • Improve the Audience Poll
  • Combine the 50-50 lifeline and Audience Poll Lifeline so they can be used
    simultaneously
  • Add functions of repeated blocks of code
Attachment
Attachment
0
namitapathak1983

🌅 DAY 1 - 18TH MARCH 2026 - Working on LIFELINE

Hello! I am Atharv Pathak from India. I am a 14 years old beginner coder learning python.
I had made this project a week earlier but 2 days before I got to know about HACK CLUB, so I am continuing the development of my game from here.
I have incorporated some advanced things to my basic Kaun Banega Crorepati Quizzing game based on python.

âś…WHAT I DID
Today I tried implementing Lifelines. They help when one does not know the answer to a question.
This lifeline is called “50-50”. When using this lifeline, the interpreter removes 2 wrong options from the 4 options. Only 2 options are left in which one is the correct answer so the probability of answering correctly increases to 50%. This is actually a lifeline used in the real game. I learned using lists properly because of the multiple failures in the output.

⚠️CHALLENGES
Several times there was an error showing in only one particular line of the code. I searched the web for explanation and found out that I was using lists wrong. I fixed the mistake but still it did not work. After some more editing, it worked!! The main problem was that my variable which I had assigned to a list was giving None value which I could not figure out at first glance.

đź§ WHAT I LEARNED

  • Using “Random Module”
  • How list.remove() works in Python

🚀NEXT GOALS

  • Improving these Lifelines
  • Improving the output
  • Improving the clarity of code
Attachment
Attachment
1

Comments

hadaa
hadaa about 1 month ago

I think thats an amazing job Good luck