diff --git a/Poker/.idea/workspace.xml b/Poker/.idea/workspace.xml index 3acd2cc..142971b 100644 --- a/Poker/.idea/workspace.xml +++ b/Poker/.idea/workspace.xml @@ -1,13 +1,8 @@ - + - - - - - - - + - - + + - - + + - - + + - - + + - + @@ -140,10 +143,10 @@ - + - + @@ -168,7 +171,7 @@ file://$PROJECT_DIR$/src/Poker.kt - 65 + 70 diff --git a/Poker/src/Poker.kt b/Poker/src/Poker.kt index a54ffed..1e3f030 100644 --- a/Poker/src/Poker.kt +++ b/Poker/src/Poker.kt @@ -44,7 +44,12 @@ fun jugada(mano: String): String { return "DOS PARES" } - 4 -> return "UN PAR" + 4 -> { + return "UN PAR" + } + 5 -> { + return "POKER" + } else -> { val color = esColor(cartas) val escalera = esEscalera(cartas) //corregir