From 5eaa521b8d32de44b3a1d151bba6d65ca90b141a Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 26 Feb 2026 16:45:12 +0000 Subject: [PATCH] fix Set For Life pool size. patch bump --- pyproject.toml | 2 +- src/lottery_tui/lottery.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3abd6a6..55f0186 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lottery-tui" -version = "1.0.2" +version = "1.0.3" description = "A terminal user interface for lottery games." authors = [{ name = "onyx-and-iris", email = "code@onyxandiris.online" }] dependencies = ["textual>=8.0.0", "loguru>=0.7.3"] diff --git a/src/lottery_tui/lottery.py b/src/lottery_tui/lottery.py index 0ae13ac..dd141b2 100644 --- a/src/lottery_tui/lottery.py +++ b/src/lottery_tui/lottery.py @@ -94,11 +94,11 @@ class EuroMillions(Lottery): class SetForLife(Lottery): """A class representing the Set For Life lottery. - Set For Life draws 5 numbers from a pool of 1 to 39, without replacement, + Set For Life draws 5 numbers from a pool of 1 to 47, without replacement, and 1 "Life Ball" number from a separate pool of 1 to 10. """ - POSSIBLE_NUMBERS = range(1, 40) + POSSIBLE_NUMBERS = range(1, 48) def draw(self) -> Result: """Perform a Set For Life draw."""