Commit Graph

22 Commits

Author SHA1 Message Date
1cee3fe738 upd lottery image in README 2024-09-27 20:23:43 +01:00
33b6ae78f0 mark abstract lottery classes as abstract 2024-09-27 19:53:02 +01:00
786d9986e9 document Limits abstract property 2024-09-27 19:33:22 +01:00
3da6f66deb add document strings
Limits are now initialized and private to each Lottery class
2024-09-27 19:28:32 +01:00
ff4d77283c remove the Generator hierarchy and the IGenerator interface
remove the Numbers class.

Limits are now passed to the constructor of each Lottery class.

{Generator}.Generate is now a static method.

Spin button renamed to Play button
2024-09-27 18:34:25 +01:00
9e678865cd no need to join here 2024-09-27 14:31:45 +01:00
7b6e3f6419 get our ducks in order!
generating Output() is now the concern of each Lottery class.
2024-09-27 14:30:12 +01:00
34b99c1f52 change LotteryPicker title 2024-09-27 13:05:01 +01:00
fce71f31a1 add overload for FillNumbers 2024-09-27 11:39:36 +01:00
e1ab2087a2 rename LottoPickerException to LotteryException
add SemanticScreenReader Announcement on button clicked.
It reads the text from the NumbersLabel
2024-09-27 02:01:24 +01:00
900fd940cf typo 2024-09-27 01:29:45 +01:00
1ab125985c add Lottery hierarchy.
Each lottery now has a generator.
2024-09-27 01:26:28 +01:00
f8bc3a7edc rename UKGenerator to UKLottoGenerator
rename EuroGenerator to EuroMillionsGenerator
2024-09-26 23:44:55 +01:00
1241070a30 update special identifiers 2024-09-26 23:00:14 +01:00
ba0a9cf35d update default width to 600 2024-09-26 21:18:09 +01:00
828b5171d7 Thunberball added to KindOfLotto 2024-09-26 21:11:27 +01:00
7ce6d550ea remove Count propertry from IGenerator
it now only enforced Generate method.
Generate method must now return Numbers type
2024-09-26 21:11:12 +01:00
58683834d5 SpinButton_Clicked fully implemented
it sets NumbersLabel.Text to different outputs according to the kind of lottery

Thunderball lottery added to list of generators
2024-09-26 21:10:37 +01:00
5b7f06f8b7 add base Generator class, it implements IGenerator
Generate() methods call FillNumbers to get number values.
Numbers are randomized, sized according to limits, unique (no duplicates) and sorted.
2024-09-26 21:06:48 +01:00
1b4e0baebb add base exception class 2024-09-26 21:04:23 +01:00
7d1525804e Set a default app size
update the window title
2024-09-26 04:17:13 +01:00
a32b1a65a4 Add project files. 2024-09-26 03:54:20 +01:00