RoloLudo/RoloLudo.package/DeckOfCards.class/class/initialize.st

9 lines
172 B
Smalltalk
Raw Normal View History

2023-11-14 02:03:37 +00:00
accessing
initialize
| response |
2023-11-14 15:42:46 +00:00
response := self new.
self suits do: [:suit |
self numeralCards do: [:number|
response cards add: number asString, suit.
]
].