Groovy web console

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

deck-of-cards

Published 6 months ago by Marty Neal with tags codegolf
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
'HSDC'.inject([]){a,e->a+[*2..10,*'AKQJ'.grep()]*.plus(e)}+['J']*2