home *** CD-ROM | disk | FTP | other *** search
- 1 remsave"cards.v5.2",8
- 2 goto400
- 63 :
- 64 rem=======print at=============
- 65 :
- 66 poke783,peek(783)and254:poke782,x:poke781,y:sys65520:printw$
- 68 poke783,peek(783)or1:return
- 107 rem =====dim for deal======
- 109 :
- 111 nc=52:dims(nc-1),d$(51),va$(13):fori=0to3:reads$(i):readco$(i):next
- 113 fori=0to12:readva$(i):next
- 115 data"[216]","[144]","[218]","","[211]","","[193]","[144]",a,2,3,4,5,6,7,8,9,10,j,q,k
- 119 c$="[176][192][192][192][192][192][192][174][157][157][157][157][157][157][157][157][221] [221][157][157][157][157][157][157][157][157][221] [221][157][157][157][157][157][157][157][157][221] [221]"
- 121 c$=c$+ "[157][157][157][157][157][157][157][157][221] [221][157][157][157][157][157][157][157][157][221] [221][157][157][157][157][157][157][157][157][221] [221]"
- 123 c$=c$+"[157][157][157][157][157][157][157][157][173][192][192][192][192][192][192][189]"
- 124 :
- 125 rem============shuffle===========
- 126 :
- 127 forj=0tonc-1:s(j)=j:next:forj=0tonc-2:j%=j+int(rnd(0)*(nc-j)):
- 128 temp=s(j):s(j)=s(j%):s(j%)=temp:next:return
- 129 :
- 130 rem ======suits,values,graphics===
- 131 :
- 133 fori=0to51:su=(int(s(i)/13)): de$=co$(su)+va$(s(i)-13*int(s(i)/13))
- 135 df$=de$+s$(su):d$(i)=c$+"[145][145][145][145][145][145][157][157][157][157][157][157][157]"+df$:next:return
- 179 :
- 398 rem========start of program=======
- 399 :
- 400 poke53280,1:poke53281,1:printchr$(8);chr$(142)
- 402 print"[147][144][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216]"
- 403 print"[211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211]":print"":print"";
- 404 print "the winners were telling jokes"
- 406 print"[218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218]"
- 407 print"[144][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193]"
- 408 gosub111
- 412 print"[147][144][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216][216]"
- 413 print"[211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211][211]":print"":print"";
- 414 print "and the losers were hollerin' "
- 416 print"[218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218][218]"
- 417 print"[144][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193][193]"
- 418 gosub127
- 420 print"[147]"
- 422 print" [223] [169] [223] "
- 424 print " "
- 426 print " "
- 428 print " "
- 430 print " [146][169] [146][209]"
- 446 gosub133
- 449 y=0:x3=0:x=x3
- 450 k1=0:forj=1to7:fori=1to8:w$=d$(k1):gosub66:k1=k1+1
- 452 x=x+4
- 454 ifk1=52then474
- 456 :next:y=y+2
- 458 ifint(j/2)=j/2then460
- 459 x=2:next
- 460 x=0:next
- 474 gosub127
- 478 x=16:y=20:w$=" [157][157][157][157][157][157][157][157] again? [157][157][157][157][157][157][157][157] (y/n) ":gosub66
- 480 geta$:ifa$=""then 480
- 482 ifa$="n"then60000
- 484 goto420
- 500 end
- 60000 open15,8,15,"r0:hello connect=hello connect":input#15,er:close15
- 60010 if er<>63 then print"[147]":end
- 60020 a$="hello connect":q$=chr$(34)
- 60030 print"[147]load"q$a$q$",8"
- 60040 print"run":poke631,13:poke632,13:poke198,2:end
-