Skip to main content

Timeline for Generate a deck of cards

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Jun 11, 2018 at 15:04 history edited mazzy CC BY-SA 4.0
avoid null iteration: 4 -> 3
Jun 11, 2018 at 14:59 comment added colsw as far as I know that's the cheapest way to break up a variable in a string, I took a look at a loop but it's more expensive by 2 chars to do it that way.
Jun 11, 2018 at 14:57 comment added mazzy cool! any idea how to remove ````?
Jun 11, 2018 at 14:55 history edited mazzy CC BY-SA 4.0
-3 bytes: thanks ConnorLSW
Jun 11, 2018 at 14:43 comment added colsw -3 using string to array for the first part : 2..10+'AJQK'[0..4]|%{"$_`H";"$_`S";"$_`D";"$_`C"};,'J'*2
Jun 11, 2018 at 10:35 history edited mazzy CC BY-SA 4.0
direct enumeration
Jun 11, 2018 at 10:11 history edited mazzy CC BY-SA 4.0
cast to string
Jun 11, 2018 at 9:57 history answered mazzy CC BY-SA 4.0