Main Method For Card Games
parent
283e557473
commit
b5ac64f8f9
@ -0,0 +1,12 @@
|
||||
import java.util.List;
|
||||
|
||||
public class CardMain {
|
||||
public static void main(String[] args) {
|
||||
/* Play Sevens */
|
||||
Sevens sevens = new Sevens();
|
||||
sevens.shuffle();
|
||||
List<Player> allPlayers = sevens.dealCards(4);
|
||||
sevens.play(allPlayers, 3);
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue