+ global $CARDS;
+ global $RULES;
+
+ switch($gametype)
+ {
+ case "normal":
+ case "wedding":
+ case "poverty":
+ case "dpoverty":
+ case "trump":
+ case "silent":
+ $CARDS["trump"] = array('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16',
+ '17','18','19','20','21','22','23','24','25','26');
+ $CARDS["diamonds"] = array();
+ $CARDS["clubs"] = array('27','28','29','30','31','32','33','34');
+ $CARDS["spades"] = array('35','36','37','38','39','40','41','42');
+ $CARDS["hearts"] = array('43','44','45','46','47','48');
+ $CARDS["foxes"] = array('19','20');
+ if($RULES["dullen"]=='none')
+ {
+ $CARDS["trump"] = array('3','4','5','6','7','8','9','10','11','12','13','14','15','16',
+ '17','18','19','20','21','22','23','24','25','26');
+ $CARDS["hearts"] = array('43','44','1','2','45','46','47','48');
+ }
+ break;
+ case "queen":
+ $CARDS["trump"] = array('3','4','5','6','7','8','9','10');
+ $CARDS["clubs"] = array('27','28','29','30','31','32','11','12','33','34');
+ $CARDS["spades"] = array('35','36','37','38','39','40','13','14','41','42');
+ $CARDS["hearts"] = array('43','44', '1', '2','45','46','15','16','47','48');
+ $CARDS["diamonds"] = array('19','20','21','22','23','24','17','18','25','26');
+ $CARDS["foxes"] = array();
+ break;
+ case "jack":
+ $CARDS["trump"] = array('11','12','13','14','15','16','17','18');
+ $CARDS["clubs"] = array('27','28','29','30','31','32','3', '4','33','34');
+ $CARDS["spades"] = array('35','36','37','38','39','40','5', '6','41','42');
+ $CARDS["hearts"] = array('43','44', '1', '2','45','46','7', '8','47','48');
+ $CARDS["diamonds"] = array('19','20','21','22','23','24','9','10','25','26');
+ $CARDS["foxes"] = array();
+ break;
+ case "trumpless":
+ $CARDS["trump"] = array();
+ $CARDS["clubs"] = array('27','28','29','30','31','32','3', '4','11','12','33','34');
+ $CARDS["spades"] = array('35','36','37','38','39','40','5', '6','13','14','41','42');
+ $CARDS["hearts"] = array('43','44', '1', '2','45','46','7', '8','15','16','47','48');
+ $CARDS["diamonds"] = array('19','20','21','22','23','24','9','10','17','18','25','26');
+ $CARDS["foxes"] = array();
+ break;
+ case "club":
+ $CARDS["trump"] = array('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16',
+ '17','18','27','28','29','30','31','32','33','34');
+ $CARDS["clubs"] = array();
+ $CARDS["spades"] = array('35','36','37','38','39','40','41','42');
+ $CARDS["hearts"] = array('43','44','45','46','47','48');
+ $CARDS["diamonds"] = array('19','20','21','22','23','24','25','26');
+ $CARDS["foxes"] = array();
+ if($RULES["dullen"]=='none')
+ {
+ $CARDS["trump"] = array('3','4','5','6','7','8','9','10','11','12','13','14','15','16',
+ '17','18','27','28','29','30','31','32','33','34');
+ $CARDS["hearts"] = array('43','44','1','2','45','46','47','48');
+ }
+ break;
+ case "spade":
+ $CARDS["trump"] = array('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16',
+ '17','18','35','36','37','38','39','40','41','42');
+ $CARDS["clubs"] = array('27','28','29','30','31','32','33','34');
+ $CARDS["spades"] = array();
+ $CARDS["hearts"] = array('43','44','45','46','47','48');
+ $CARDS["diamonds"] = array('19','20','21','22','23','24','25','26');
+ $CARDS["foxes"] = array();
+ if($RULES["dullen"]=='none')
+ {
+ $CARDS["trump"] = array('3','4','5','6','7','8','9','10','11','12','13','14','15','16',
+ '17','18','35','36','37','38','39','40','41','42');
+ $CARDS["hearts"] = array('43','44','1','2','45','46','47','48');
+ }
+ break;
+ case "heart":
+ $CARDS["trump"] = array('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16',
+ '17','18','43','44','45','46','47','48');
+ $CARDS["clubs"] = array('27','28','29','30','31','32','33','34');
+ $CARDS["spades"] = array('35','36','37','38','39','40','41','42');
+ $CARDS["hearts"] = array();
+ $CARDS["diamonds"] = array('19','20','21','22','23','24','25','26');
+ $CARDS["foxes"] = array();
+ if($RULES["dullen"]=='none')
+ {
+ $CARDS["trump"] = array('3','4','5','6','7','8','9','10','11','12','13','14','15','16',
+ '17','18','43','44','1','2','45','46','47','48');
+ }
+ break;
+ }