Commit Graph

3 Commits

Author SHA1 Message Date
Pat Wick 0f68ab5afd Modified dice_stats.py to fix a bug in 3+4 of kind
Found an error where self.faces().sort() was syntacticly correct, at
least I think it is, but wasn't actually generating my sorted list.
Storing the faces returned list as a variable and then sorting the
list stored in the variable did work reliably.
2024-02-04 20:54:44 -05:00
Pat Wick 35a8bd78ae Added is_three_of_a_kind and is_four_of_a_kind
Checkpoint 1: The first thing that comes to my mind, along the same vein
as the Die objects, is a deck of cards. You could create a deck of Card
objects and deal hands to simulate poker or blackjack.
2024-01-31 20:13:01 -05:00
pwick 50a2f11499 Initial commit 2023-08-15 13:22:49 +00:00