diff --git a/jweb-e002/build/classes/clases/Poker.class b/jweb-e002/build/classes/clases/Poker.class index 4433cc2..45788c5 100644 Binary files a/jweb-e002/build/classes/clases/Poker.class and b/jweb-e002/build/classes/clases/Poker.class differ diff --git a/jweb-e002/build/classes/servlets/ManoDoc.class b/jweb-e002/build/classes/servlets/ManoDoc.class index bb2a574..f8ebaaa 100644 Binary files a/jweb-e002/build/classes/servlets/ManoDoc.class and b/jweb-e002/build/classes/servlets/ManoDoc.class differ diff --git a/jweb-e002/src/clases/Poker.java b/jweb-e002/src/clases/Poker.java index 68bee19..1acf2d8 100644 --- a/jweb-e002/src/clases/Poker.java +++ b/jweb-e002/src/clases/Poker.java @@ -669,42 +669,59 @@ public class Poker { Random random = new Random(); String nuevaCarta = ""; - int valor; - int palo; + int valor[] = new int[n]; + int palo[] = new int[n]; + + + for(int i=0; i