JSPM

do-you-know-ranit

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q48882F

Do You Know Ranit Manik?

Package Exports

  • do-you-know-ranit
  • do-you-know-ranit/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (do-you-know-ranit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Do You Know Ranit?

A fun and interactive CLI quiz game to test your knowledge about Ranit Manik. This game challenges players with questions about Ranit's background, skills, and social media presence. Get all the questions right, or face the consequences!

Table of Contents

Features

  • Animated rainbow title using chalk-animation
  • Beautiful console messages with chalk
  • Smooth gradient text with gradient-string
  • Interactive questions using inquirer
  • Engaging spinner animations with nanospinner
  • ASCII art congratulations with figlet

Installation

Global Installation

To install and run the game globally, use:

npm install -g do-you-know-ranit
do-you-know-ranit

Using npx

To run the game without installing globally, use npx:

npx do-you-know-ranit

How to Play

  1. The game will start with a welcome message and instructions.
  2. You will be asked to enter your name.
  3. Answer each question correctly to proceed to the next one.
  4. If you answer any question incorrectly, the game will end.
  5. Answer all questions correctly to win the game.

Example

$ do-you-know-ranit

Upon running the above command, you will see the animated title followed by a series of questions. Here's a sample interaction:

Do You Know RANIT?

HOW TO PLAY
I am a process on your computer.
If you get any question wrong I will be killed
So get all the questions right...

What is your name? (Player)

Where is Ranit currently pursuing his higher education?
1) College of Engineering & Management, Kolaghat
2) IIT Kharagpur
3) NIT Durgapur
4) Jadavpur University

Nice work [Player]. That's a legit answer
...
Congrats , [Player] !
You know Ranit well!

https://github.com/RanitManik/do-you-know-ranit/assets/138437760/258b00fb-f50e-4cad-913d-ed37b368af10

Development

To run the game locally without installing globally:

  1. Clone the repository:
git clone https://github.com/RanitManik/do-you-know-ranit.git
  1. Navigate to the project directory and install dependencies:
cd do-you-know-ranit
npm install
  1. Run the game:
node index.js

Dependencies

Contributing

Feel free to submit issues or pull requests. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License.

Contact

Social Media Username Link
Email ranitmanik.dev@gmail.com Email
LinkedIn Ranit Manik LinkedIn
Instagram ranit_manik_ Instagram
Facebook RanitKumarManik Facebook

Acknowledgement

Inspired by fireship.io.