Playing a Hand with Ruby Pattern Matching

Ruby 2.7