cli-rps-game
v1.0.6
Published
A command-line interface (CLI) rock-paper-scissors game for interactive entertainment.
Downloads
13
Maintainers
Readme
Rock Paper Scissors CLI Game
Welcome to the Rock Paper Scissors CLI game! This interactive command-line game allows you to play the classic rock-paper-scissors against the computer.
Installation
To use this tool, you need to have Node.js installed on your system. You can install globally using npm:
npm install -g cli-rps-game
How to Play
Once installed, simply run the following command:
playrps
or alternatively, you can play by using npx:
npx cli-rps-game
Packages Used
- chalk: For styling the command-line output.
- inquirer: For interactive prompts.
- chalk-animation: For animated effects.
Development
To start the development server locally, you can use the following command:
yarn start
This will launch the game in development mode, allowing you to make changes and test your code.