Commit Graph

25 Commits

Author SHA1 Message Date
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
35062e67e2 upd image in README 2024-09-27 03:03:39 +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
bd393356a6
Update README.md 2024-09-26 23:04:17 +01:00
d59dcf7812
Update README.md 2024-09-26 23:02:39 +01:00
1241070a30 update special identifiers 2024-09-26 23:00:14 +01:00
bc45a4d8f8
Update README.md 2024-09-26 22:31:58 +01:00
bac053bb3f
Update README.md 2024-09-26 22:31:02 +01:00
394e84ab52 upd readme with image 2024-09-26 22:24:33 +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
9f3d62f7fe Add .gitattributes, .gitignore, README.md, and LICENSE.txt. 2024-09-26 03:54:04 +01:00