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 1 month ago by Marty Neal with tags codegolf
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
'HSDC'.grep().sum{[*2..10,*'AKQJ'.grep()]*.plus(it)}+['J']*2