cc-lottery-cli
v1.0.1
Published
A lottery command-line app
Downloads
2
Readme
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