diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/evaluator/EvaluatorBridge.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/evaluator/EvaluatorBridge.kt index ce444b6d..4ec71150 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/evaluator/EvaluatorBridge.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/evaluator/EvaluatorBridge.kt @@ -28,6 +28,10 @@ class EvaluatorBridge { companion object { + /*** + * Returns the best possible hand with the given [hand] and [board] + * The result is in the form of an Int where having the lowest score is the best + */ fun playerHand(hand: List, board: List): Int { val handCards = hand.mapNotNull { it.toEvaluatorCard() }