Solve the tricky card games problem in 4clojure.