Please login with GitHub in order to save solutions and appear on the leaderboards.

Poker

Given various poker hands as arguments, print what type of hand each argument is.

The list of hands in ranking order are as follows:

Royal FlushπŸƒπŸƒŽπŸƒπŸƒ‹πŸƒŠ
Straight FlushπŸƒ›πŸƒšπŸƒ™πŸƒ˜πŸƒ—
Four of a KindπŸƒ•πŸƒ…πŸ‚΅πŸ‚₯πŸƒ‚
Full HouseπŸ‚¦πŸ‚ΆπŸƒ†πŸƒžπŸ‚Ύ
FlushπŸƒ‹πŸƒ‰πŸƒˆπŸƒ„πŸƒƒ
StraightπŸƒŠπŸ‚©πŸ‚ΈπŸƒ‡πŸƒ–
Three of a KindπŸƒπŸ‚­πŸ‚½πŸ‚ΉπŸ‚’
Two PairπŸ‚»πŸ‚«πŸƒ“πŸ‚£πŸ‚²
PairπŸ‚ͺπŸ‚ΊπŸ‚¨πŸ‚·πŸƒ”
High CardπŸƒŽπŸƒπŸ‚§πŸ‚€πŸ‚³
not triednot triednot triednot triednot triednot triednot triednot triednot triednot triednot tried
arguments holds ARGV, print() to output with a newline, write() to output without a newline.
say and state are available without any import.