Skip to content

Commit 619e3ff

Browse files
committed
2nd Commit
1 parent 4777b92 commit 619e3ff

File tree

2 files changed

+51
-4
lines changed

2 files changed

+51
-4
lines changed

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# JavaScript-KBC (Who Wants To Be A JavaScript Millionaire?)
2+
3+
JavaScript-KBC is a command-line interface (CLI) based game inspired by the famous TV show "Kon Banega Corerpati")? It's designed to test your knowledge of JavaScript with a series of multiple-choice questions. You can run the game directly in your terminal using `npx` or install it as a package in your own JavaScript projects.
4+
5+
## Installation
6+
7+
To play the game directly in your terminal, simply run the following command:
8+
9+
```bash
10+
npx js-kbc
11+
```
12+
13+
To use this package in your own JavaScript projects, you can install it via npm:
14+
15+
```bash
16+
npm install js-kbc
17+
```
18+
19+
## How to Play
20+
21+
Once you start the game using `npx js-kbc`, you will be presented with a series of JavaScript-related questions. Choose the correct answer from the options provided. If you answer all the questions correctly, you can win the JavaScript millionaire title!
22+
23+
The game is designed to be both entertaining and educational, so have fun while brushing up on your JavaScript knowledge!
24+
25+
## Features
26+
27+
- Multiple-choice questions to test your JavaScript knowledge.
28+
- Enjoyable and interactive CLI-based game.
29+
- Perfect for learning and reviewing JavaScript concepts in a fun way.
30+
31+
## Contributing
32+
33+
If you'd like to contribute to this project or report issues, please visit the [GitHub repository](https://github.com/pb2204/JavaScript-KBC). We welcome contributions from the community.
34+
35+
## License
36+
37+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
38+
39+
## Acknowledgments
40+
41+
- Special thanks to the authors of the npm packages used to create this game.
42+
43+
## Author
44+
45+
- [Your Name](https://pabitrabanerjee.me)
46+
47+
Enjoy the game and test your JavaScript knowledge! Good luck on your way to becoming a JavaScript Millionaire!

index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ async function welcome() {
3333
rainbowTitle.stop();
3434

3535
console.log(`
36-
${chalk.bgBlue('HOW TO PLAY')}
37-
I am a process on your computer.
38-
If you get any question wrong I will be ${chalk.bgRed('killed')}
39-
So get all the questions right...
36+
${chalk.bgBlueBright('HOW TO PLAY')}
37+
I Am A Process On Your Terminal...
38+
If You Provide Any Wrong Answer , I Will Be ${chalk.bgRed('KILLED ')} 💀
39+
So Try To Give All Correct Answers...
4040
4141
`);
4242
}

0 commit comments

Comments
 (0)