California Lottery Mega Millions: Results and numbers generator.
This program is based on the Mega Millions draw from CALottery. The game consists in selecting 5 numbers from 1 to 70 and a special Mega number from 1 to 25.
First, the program web scraps the results from the CALottery web page, that is, the six numbers and the draw number. Then it proceeds to ask the user if he wishes to get new random generated numbers for the next draw. If yes, it generates 6 non-repeating random numbers. If the user prefers to stop once the previous results are shown, the program shows a "Have a nice day!" message and closes.
Website designed by Ali Malik. Logo by Sayaka Funata.