exercism / roc

Exercism exercises in Roc.
https://exercism.org/tracks/roc
MIT License
10 stars 7 forks source link

Add poker exercise #142

Closed ageron closed 1 month ago

ageron commented 1 month ago

A couple things tripped me up:

I started by implementing a function to compare two hands, but I found it easier to implement a function that just returns a hand overall rank, and then simply keep the hand(s) with the highest rank.