Ad
  • Custom User Avatar

    Never in this kata is it mentioned you're in a game. You just need to compare 2 hands against eachother.

  • Custom User Avatar

    I think there's some impossible cases in the tests. In a game of Texas Hold'em it's impossible to have 2 people with a flush of different suits because that would imply to have 6 (2_suit1 + (3_suit1 + 3_suit2) + 2_suit2) community cards but there's only 5.

  • Custom User Avatar

    nice one with list comprehension. I made a similar one but mine was a bit more complicated.