Skip to content

Instantly share code, notes, and snippets.

@MarcinMoskala
Created May 25, 2018 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcinMoskala/766205be0d88b57d2a38b4d8894460e2 to your computer and use it in GitHub Desktop.
Save MarcinMoskala/766205be0d88b57d2a38b4d8894460e2 to your computer and use it in GitHub Desktop.
fun List<Int>.trueCount(): Int = -sumBy(::cardValue) * 52 / size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment