cc-lottery-cli

1.0.1 • Public • Published

Lottery App

Setup

To install the dependencies, run:

npm install

Run

To run the program, run:

node lottery.js

Idea

  • buy ticket
  • user picks their own numbers
  • lottery generates random numbers
  • check for winning ticket:
    • primary winner: all numbers match
    • consolation: at least 3 numbers match
    • joker: numbers match and are in same order as lottery numbers

Readme

Keywords

none

Package Sidebar

Install

npm i cc-lottery-cli

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.43 kB

Total Files

3

Last publish

Collaborators

  • noahro