Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

randomjs-game

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

randomjs-game

This is a basic command-line based random numbers game, where you have to guess the number. If it is wrong, then it gives you an error and encourages you to try again; if you manage to guess the right number, then it cheers you on and asks you if you

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Random Number Game in JavaScript

This is a basic command-line based random numbers game, where you have to guess the number. If it is wrong, then it gives you an error and encourages you to try again; if you manage to guess the right number, then it cheers you on and asks you if you want to play again. If you answer 'y' then it continues; if you answer 'n', it exits; if you specify nothing or something invalid, then it defaults to 'y'.

To run this game, you'll have to:

  • Clone this repo by running git clone https://github.com/santi100a/random-number-game-javascript.git.
  • Erase the node_modulesfolder.
  • Run npm install.
  • Run npm run test or node ..
  • Enjoy the game!

FAQs

Package last updated on 05 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc