2022-01-06 01:59:44 +00:00
|
|
|
# Generic Lottery game number checker #
|
2025-11-14 21:34:07 +00:00
|
|
|
Currently includes Powerball, Megamillions, Texas Two Step, and Lotto Texas.
|
2022-01-06 01:59:44 +00:00
|
|
|
|
2025-11-14 21:34:07 +00:00
|
|
|
You add your picks to `{game}/picks.py`, and run `./play -g {game}`
|
|
|
|
|
eg:
|
|
|
|
|
* `./play.py -g powerball`
|
|
|
|
|
* `./play.py -g megamillions`
|
|
|
|
|
* `./play.py -g twostep`
|
|
|
|
|
* `./play.py -g lottotexas`
|
2022-01-06 01:59:44 +00:00
|
|
|
|
|
|
|
|
The script will pull the current winning numbers from an rss feed, and compare them to each ticket you list in the picks.py file for that game.
|
|
|
|
|
|
|
|
|
|
The output per ticket:
|
|
|
|
|
```text
|
|
|
|
|
Winning Numbers: [2, 13, 32, 33, 48]
|
|
|
|
|
Winning Powerball: 22
|
|
|
|
|
Your Numbers: (1, 2, 3, 4, 5)
|
|
|
|
|
Your Powerball: 9
|
|
|
|
|
Matched Numbers: [2]
|
|
|
|
|
Matched Powerball: False
|
|
|
|
|
Not a Winner!
|
|
|
|
|
```
|
|
|
|
|
OR
|
|
|
|
|
```text
|
|
|
|
|
Winning Numbers: [2, 13, 32, 33, 48]
|
|
|
|
|
Winning Powerball: 22
|
|
|
|
|
Your Numbers: (1, 2, 3, 4, 5)
|
|
|
|
|
Your Powerball: 22
|
|
|
|
|
Matched Numbers: [2]
|
|
|
|
|
Matched Powerball: True
|
|
|
|
|
Ticket is worth: 8
|
|
|
|
|
```
|