FthmFDockDFHMWincdDCGDcCncdCCdsCCaxcrFnTbFnIOArialTxEn DColKCmpDCmp DCol Collection 1KCntDsCngClCnCmRf InSt7CoIn @@}0@@DsPnCmPn InPmCsPnInPminTMaaTMTabl_TbHlTbGm@TGhtdbl runl@R@N@]mm@4Tabl_TbHlTbGm@TGhtdbl runl@R@N@]mm@4CtPnInPm inTMDsPnInPminTMaaTMTabl_TbHlTbGm@TGhtdbl runl@R@N@]mm@4Tabl_TbHlTbGm@TGhtdbl runl@R@N@]mm@4MsPnInPminTMaaTMTabl_TbHlTbGm@TGhtdbl runl@R@N@]mm@4Tabl_TbHlTbGm@TGhtdbl runl@R@N@]mm@4?UUUUUUCDNdCDScCollThe 12 card deckCDNdCDScCDHlClCs kAtLsCCsAAttrCsAtCCsAcardsPrLsSPrLCCsAAttrCsAtCCsArankPrLsSPrLCCsAAttrCsAtCCsAsuitPrLsSPrLCCmAAttr CmAtCCmADisplay PrLsSPrLAtLsCCmAAttrCmAtCCmAOriginPrLsSPrLAtLsCCsAAttrCsAtCCsAxPrLsSPrLplus[times[num[100,"100"],customfxn"modulo"[id[comma[plus[string[(**)"caseIndex"],minus[num[1,"1"]]],num[3,"3"]]]]],num[50,"50"]]CCsAAttrCsAtCCsAyPrLsSPrLplus[times[num[110,"110"],customfxn"floor"[id[over[plus[string[(**)"caseIndex"],minus[num[1,"1"]]],num[3,"3"]]]]],num[60,"60"]]CCmAAttr CmAtCCmAPicturePrLsSPrLAtLsCCsAAttrCsAtCCsAKimagePrLsSPrLEcustomfxn"cardIcon"[id[comma[string[(**)"rank"],string[(**)"suit"]]]]CCsAAttrCsAtCCsAxPrLsSPrLCCsAAttrCsAtCCsAyPrLsSPrLCCsAAttrCsAtCCsAwidthPrLsSPrL num[80,"80"]CCsAAttrCsAtCCsAheightPrLsSPrL num[80,"80"]CCmAAttr!CmAtCCmA_CaptionPrLsSPrLAtLsCCsAAttr CsAtCCsAcaptionPrLsSPrLstring[(**)"cards"]CCsAAttrCsAtCCsAxPrLsSPrLCCsAAttrCsAtCCsAyPrLsSPrLCDNdCDScCDHl 8HmCAAtLs .HCAtAttrCsAtHCAtcardsPrLsSPrLGnCAHmCDGnCA  2 of Clubs  3 of Clubs  4 of Clubs  2 of Diamonds  3 of Diamonds  4 of Diamonds  2 of Hearts  3 of Hearts  4 of Hearts  2 of Spades  3 of Spades  4 of SpadesHCAtAttrCsAtHCAtdrankPrLsSPrLGnCAHmCDGnCAP HCAtAttrCsAtHCAtdsuitPrLsSPrLGnCAHmCDGnCAP SApCAttr CmAtFxCAGmCmAppCSApCDisplay PrLsSPrLAtLsOrGeAttrCmAtOrGeOriginPrLsSPrLAtLsHCAtAttrCsAtHCAtxPrLsSPrLFrCAHmCDFrCA plus[times[num[100,"100"],customfxn"modulo"[id[comma[plus[string[(**)"caseIndex"],minus[num[1,"1"]]],num[3,"3"]]]]],num[50,"50"]]HCAtAttrCsAtHCAtyPrLsSPrLFrCAHmCDFrCA plus[times[num[110,"110"],customfxn"floor"[id[over[plus[string[(**)"caseIndex"],minus[num[1,"1"]]],num[3,"3"]]]]],num[60,"60"]]IcGeAttr CmAtFxCAGmCmIcGePicturePrLsSPrLAtLsHCAtAttrCsAtHCAtjimagePrLsSPrLFrCAHmCDFrCAV Ecustomfxn"cardIcon"[id[comma[string[(**)"rank"],string[(**)"suit"]]]]HCAtAttrCsAtHCAtxPrLsSPrLRelCHmCDNCsDRelCh HCAtAttrCsAtHCAtyPrLsSPrLRelCHmCDNCsDRelCh HCAtAttrCsAtHCAt1widthPrLsSPrLFrCAHmCDFrCA num[80,"80"]HCAtAttrCsAtHCAt1heightPrLsSPrLFrCAHmCDFrCA num[80,"80"]CpGeAttr!CmAtFxCAGmCmCpGe"_CaptionPrLsSPrLAtLsHCAtAttr CsAtHCAt8captionPrLsSPrLFrCAHmCDFrCA$ string[(**)"cards"]HCAtAttrCsAtHCAtxPrLsSPrLRelCHmCDNCsDRelCh HCAtAttrCsAtHCAtyPrLsSPrLRelCHmCDNCsDRelCh @ @ @ @ @ @ @ @ @ @ @ @ Arial@&  ClOr ThngCmThAtLs}ThngAttr#Thng TypeOfHandPrLsSPrLstraightThngAttr ThngComment PrLsSPrLCtSLCDNdCDclCDFlDCOrClOrDCOrAbIM$INMd.@@}0@@@@}0@@?UUUUUUDColKCmpDCmpDColKCntDsCnyClCnCmRf InStICoIn @@[@@vPDsPnCmPn InPmCsPnInPminTMaaTMTabl_TbHlTbGm@TGhtdbl runl@R@N@OI$I$@4Tabl_TbHlTbGm@TGhtdbl runl@R@N@OI$I$@4CtPnInPm inTMDsPnInPminTMaaTMTabl_TbHlTbGm@TGhtdbl runl@R@N@OI$I$@4Tabl_TbHlTbGm@TGhtdbl runl@R@N@OI$I$@4MsPnInPminTMaaTMTabl_TbHlTbGm@TGhtdbl runl@R@N@OI$I$@4Tabl_TbHlTbGm@TGhtdbl runl@R@N@OI$I$@4OrPn InPm?UUUUUUCDNdCDScCollOne possible hand shown belowCDNdCDScCDHlClCsVAtLsCCsAAttrCsAtCCsAcardsPrLsSPrLCCsAAttrCsAtCCsArankPrLsSPrLCCsAAttrCsAtCCsAsuitPrLsSPrLCCmAAttr CmAtCCmADisplay PrLsSPrLAtLsCCmAAttrCmAtCCmAOriginPrLsSPrLAtLsCCsAAttrCsAtCCsAxPrLsSPrLplus[times[num[100,"100"],customfxn"modulo"[id[comma[plus[string[(**)"caseIndex"],minus[num[1,"1"]]],num[3,"3"]]]]],num[50,"50"]]CCsAAttrCsAtCCsAyPrLsSPrLplus[times[num[110,"110"],customfxn"floor"[id[over[plus[string[(**)"caseIndex"],minus[num[1,"1"]]],num[3,"3"]]]]],num[60,"60"]]CCmAAttr CmAtCCmAPicturePrLsSPrLAtLsCCsAAttrCsAtCCsAKimagePrLsSPrLEcustomfxn"cardIcon"[id[comma[string[(**)"rank"],string[(**)"suit"]]]]CCsAAttrCsAtCCsAxPrLsSPrLCCsAAttrCsAtCCsAyPrLsSPrLCCsAAttrCsAtCCsAwidthPrLsSPrL num[80,"80"]CCsAAttrCsAtCCsAheightPrLsSPrL num[80,"80"]CCmAAttr!CmAtCCmA_CaptionPrLsSPrLAtLsCCsAAttr CsAtCCsAcaptionPrLsSPrLstring[(**)"cards"]CCsAAttrCsAtCCsAxPrLsSPrLCCsAAttrCsAtCCsAyPrLsSPrLCDNdCDScCDHl#HmCAAtLsHCAtAttrCsAtHCAtFcardsPrLsSPrLGnCAHmCDGnCA2  4 of Spades  4 of Hearts  2 of SpadesHCAtAttrCsAtHCAt.rankPrLsSPrLGnCAHmCDGnCAHCAtAttrCsAtHCAt.suitPrLsSPrLGnCAHmCDGnCASApCAttr CmAtFxCAGmCmAppCSApCDisplay PrLsSPrLAtLsuOrGeAttrCmAtOrGeOriginPrLsSPrLAtLsHCAtAttrCsAtHCAtxPrLsSPrLFrCAHmCDFrCAplus[times[num[100,"100"],customfxn"modulo"[id[comma[plus[string[(**)"caseIndex"],minus[num[1,"1"]]],num[3,"3"]]]]],num[50,"50"]]HCAtAttrCsAtHCAtyPrLsSPrLFrCAHmCDFrCAplus[times[num[110,"110"],customfxn"floor"[id[over[plus[string[(**)"caseIndex"],minus[num[1,"1"]]],num[3,"3"]]]]],num[60,"60"]]IcGeAttr CmAtaFxCAGmCmIcGePicturePrLsSPrLAtLsUHCAtAttrCsAtHCAtjimagePrLsSPrLFrCAHmCDFrCAVEcustomfxn"cardIcon"[id[comma[string[(**)"rank"],string[(**)"suit"]]]]HCAtAttrCsAtHCAt:xPrLsSPrLGnCAHmCDGnCA&HCAtAttrCsAtHCAt:yPrLsSPrLGnCAHmCDGnCA&HCAtAttrCsAtHCAt1widthPrLsSPrLFrCAHmCDFrCA num[80,"80"]HCAtAttrCsAtHCAt1heightPrLsSPrLFrCAHmCDFrCA num[80,"80"]CpGeAttr!CmAt^FxCAGmCmCpGe"_CaptionPrLsSPrLAtLsRHCAtAttr CsAtHCAt8captionPrLsSPrLFrCAHmCDFrCA$string[(**)"cards"]HCAtAttrCsAtHCAt:xPrLsSPrLGnCAHmCDGnCA&HCAtAttrCsAtHCAt:yPrLsSPrLGnCAHmCDGnCA&@ @ @ Arial@& ClOrThngCmThAtLsThngAttr#ThngL TypeOfHandPrLsSPrLBif[id[equal[customfxn"uniqueValues"[id[string[(**)"rank"]]],num[1,"1"]]],string[(**)q"3 of a kind"],if[id[equal[customfxn"uniqueValues"[id[string[(**)"rank"]]],num[2,"2"]]],string[(**)q"pair"],if[id[equal[customfxn"uniqueValues"[id[string[(**)"suit"]]],num[1,"1"]]],string[(**)q"straight flush"],string[(**)q"straight"]]]]ThngAttr ThngComment PrLsSPrLCtSLCDNdCDclCDFlSIsaClOrDrCOSImd$SIsaCmRf SAMSSIMSSAMSAbIM$INMd.@@[@@vP@@[@@vP?UUUUUUtextKCmptextKCntTxCnEach group of 4 people gets 12 cards (the 2's, 3's and 4's from a standard card deck). Rules: Deal all the cards out so that every person gets 3 cards. The job of the group is to determine which hand is better than another hand. In order to say one type of hand is better than another type of hand you must make sure that the better hand is more rare (lower probability of getting the hand). Come up with all the types of hands that are possible and then rank them as to which is the best hand, the next best hand and so forth. <0>>><0><0>>>MfsS  textKCmptextKCntTxCnbDeveloped by Mike Maxon at San Diego State University Presented at the conference CMC-South 2007.q>MfsS  textKCmptextKCntTxCnWCreating the Game">>MfsS SFmsTxtFCmpFNTxtF@v@vfram@wp@p@CmRf ColFCmpFNdspFFltFColF@u@dfram@w @U@CmRf ColFCmpFNdspFFltFColF@t@hfram@4@TCmRf TxtFCmpFNTxtF@t@Ifram@9@`CmRf TxtFCmpFNTxtF@v@Kfram@q@4CmRf