1.0.1 • Published 1 year ago

cc-lottery-cli v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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
1.0.1

1 year ago

1.0.0

1 year ago