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 5 months ago by Marty Neal
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