Main Method For Card Games

master
sgoudham 4 years ago
parent 283e557473
commit b5ac64f8f9
No known key found for this signature in database
GPG Key ID: EF51A29A50FB754C

@ -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…
Cancel
Save