Commit c6fc3fec by Emanuel Lugo

Creacion de paquete para Poker2

parent cd75c322
package poker;
public class Carta {
public String valor;
......
package poker;
import java.util.Comparator;
class SortbyPalo implements Comparator<Carta>
......
package poker;
import java.util.Comparator;
class SortbyValor implements Comparator<Carta>
......
/** */
/** */
package poker;
import java.util.ArrayList;
import java.util.*;
......@@ -83,11 +85,11 @@ public class pokerGame {
pokerGame poker = new pokerGame();
String resultado;
int i;
carta1 = new Carta("KS ");
carta2 = new Carta("6C ");
carta3 = new Carta("6H ");
carta4 = new Carta("6D ");
carta5 = new Carta("KC ");
carta1 = new Carta("2S ");
carta2 = new Carta("2C ");
carta3 = new Carta("4H ");
carta4 = new Carta("5D ");
carta5 = new Carta("5C ");
mano.add(carta1);
mano.add(carta2);
mano.add(carta3);
......
package poker2;
import poker.*;
public class PokerGame2 {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment