- JS
- Jest
This app generetes lottery grids for French Loto, EuroMillions or others lotteries where numbers are in 2 different boxes .
Numbers are chosen randomly (by the Math.random function). The main goal is to avoid duplicate numbers, no find the winning grid. Sorry 😊
- Choose the number of grids with
numberOfGrids. - Choose how many numbers draw lots in the first box with
countNumber. - Choose min and max value that you can play with
minNumberandmaxNumber. - Choose how many numbers draw lots in the second box with
countStar. - Choose min and max value that you can play with
minStarandmaxStar. - Read in your terminal result.
- Play the lottery and cross your fingers 🤞.