Beispiel #1
0
 //Create a deck to play with
 public void Create_Deck_Flowers()
 {
     Card a = new Card("Lotus");
     Card b = new Card("Water Lily");
     Card c = new Card("Daisy");
     Card d = new Card("Rose");
     Card e = new Card("Jasmine");
     Card f = new Card("Peony");
     Card g = new Card("Lavender");
     Card h = new Card("Dahlia");
     Card i = new Card("Iris");
     Card j = new Card("Sunflower");
     Card k = new Card("Tulips");
     Card l = new Card("Daffodils");
     Card m = new Card("Orchid");
     Card n = new Card("Gardenia");
     Card o = new Card("Calla");
     Card p = new Card("Carnation");
     Card q = new Card("Chrysanthemum");
     Card r = new Card("Hydrangea");
     Card s = new Card("Snapdragon");
     Card t = new Card("Sakura");
     Card[] arr = { a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t };
     deck = new Deck(arr);
     max_points = 20;
 }
Beispiel #2
0
 //Create a deck to play with
 public void Create_Deck_Space()
 {
     Card a = new Card("Sun");
     Card b = new Card("Mercury");
     Card c = new Card("Venus");
     Card d = new Card("Earth");
     Card e = new Card("Mars");
     Card f = new Card("Jupiter");
     Card g = new Card("Saturn");
     Card h = new Card("Uranus");
     Card i = new Card("Neptune");
     Card j = new Card("Pluto");
     Card k = new Card("Moon");
     Card l = new Card("Star");
     Card m = new Card("Comet");
     Card n = new Card("Galaxy");
     Card o = new Card("Nebula");
     Card[] arr = { a, b, c, d, e, f, g, h, i, j, k, l, m, n, o };
     deck = new Deck(arr);
     max_points = 15;
 }
Beispiel #3
0
 //Create a deck to play with
 public void Create_Deck_Fruit ()
 {
     Card a = new Card("Apple");
     Card b = new Card("Orange");
     Card c = new Card("Lemon");
     Card d = new Card("Strawberry");
     Card e = new Card("Pineapple");
     Card f = new Card("Mango");
     Card g = new Card("Banana");
     Card[] arr = { a, b, c, d, e, f, g };
     deck = new Deck(arr);
     max_points = 7;
 }
Beispiel #4
0
 //Create a deck to play with
 public void Create_Deck_Colors()
 {
     Card a = new Card("Red");
     Card b = new Card("Orange");
     Card c = new Card("Yellow");
     Card d = new Card("Green");
     Card e = new Card("Blue");
     Card f = new Card("Purple");
     Card g = new Card("Pink");
     Card h = new Card("White");
     Card i = new Card("Black");
     Card j = new Card("Gray");
     Card[] arr = { a, b, c, d, e, f, g, h, i, j };
     deck = new Deck(arr);
     max_points = 10;
 }
Beispiel #5
0
 //Create a deck to play with
 public void Create_Deck_Animals()
 {
     Card a = new Card("Whale");
     Card b = new Card("Fish");
     Card c = new Card("Shark");
     Card d = new Card("Starfish");
     Card e = new Card("Turtle");
     Card[] arr = { a, b, c, d, e };
     deck = new Deck(arr);
     max_points = 5;
 }