Groovy web console

subscribe to the feed Subscribe
to this
site
generate-a-deck-of-cards (via #groovywebconsole)
tweet this snippet Tweet
this
script

generate-a-deck-of-cards

Published 3 months ago by marty.neal with tags code golf
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
[*2..10,*'AKQJ'.grep()].collectMany{n->'HSDC'.collect{n+it}}+['J']*2