6 Commits

Author SHA1 Message Date
5d6836a603 add _read_lottery_selection() helper method
patch bump
2026-02-23 19:58:47 +00:00
dbbc32f4ec swap out the NamedTuple for a frozen dataclass.
move the responsibility of sorting the numbers from the caller to the class initialisation.
(now the string representation matches the internal state)

move logging of ValueError from tui.py to lottery.py

patch bump
2026-02-23 16:53:33 +00:00
8b743abcfb rename UK Lotto to Lotto to match the website.
patch  bump
2026-02-22 23:34:10 +00:00
67b3887bc8 should we get a ValueError when requesting a lottery object allow it to bubble up.
patch bump
2026-02-22 14:33:48 +00:00
47ced52722 check for empty selection and return early if blank.
this fixes a crash should a draw be attempted without a selection.
2026-02-21 21:56:05 +00:00
b28b04c603 initial commit 2026-02-21 21:06:21 +00:00