print ""
print "         "
print "     ʽ汾ver1.0"
print "  ʱ߹  "
print "    wstjb   "

money=100
ck=0
y1=0
y2=0
y3=0
y4=0
qbj=3
jyj=7
cyj=170
dsj=900
all=100
jl=100
day=1
g1=0
g2=0
g3=0
g4=0
gj1=0
gj2=0
gj3=0
gj4=0
tc=0


1 cls
print ""
print "µ;"
print "ʼ"
print ""
print "1 2˵ 3˳"
pause


key=getkey()
if key=49 then
goto 2
else if key=50 then
goto 3
else if key=51 then
end
else if key<>51 then
goto 1
end if
end

2 cls
all=money+ck
if day=31 and all>=10000 then
if tc>=2 then
print "ϲΪ˸"
print ""
pause
end
end if
else if day=31 and money<10000 then
print "ĸµ"
print ""
end
end if

print " [    ] "
print "A B C D E F G H "
print "״Яˡ"
print "̬ƱҵϢ"
print " WSTJB Ȩ "
print ""
pause
key=getkey()
if key=97 then
goto 10
else if key=98 then
goto 20
else if key=99 then
goto 30
else if key=100 then
goto 40
else if key=101 then
goto 50
else if key=102 then
goto 60
else if key=103 then
goto 70
else if key=104 then
goto 80
else if key<>104 then
goto 2
end if
end

3 cls
print "˵:"
print "԰汾:           "
print "Ҫֽڴ"
print "10000,ҵ>="
print "2͸."
print ""
pause
goto 1

10 cls
print "Ǯ:";money
print ":";ck
print ":";jl
print ":"
pause
cls
goto 2

20 cls
print "Ǧ:";y1
print ":";y2
print "Ҷ:";y3
print ":";y4
pause
cls
goto 2

30 cls
print "ֽ:";money;":";ck
print "1Ǯ   2ȡǮ"
pause
key=getkey()
if key=49 and money>99 then
print "100Ԫ"
pause
ck=ck+100
money=money-100
goto 30
else if key=50 and ck>99 then
print "ȡ100Ԫ"
pause
ck=ck-100
money=money+100
goto 30
else if key=113 then
goto 2
end if
goto 30

40 cls
j1=qbj+rnd(4)
j2=jyj+rnd(6)
j3=cyj+rnd(60)
j4=dsj+rnd(200)

41 cls
if jl<=0 then
print "̫,޷"
pause
goto 2
end if
print "||       0-"
print "||Ǯ:";money;" 5-8"
print "||1Ǧ:";j1;"Ԫ";y1
print "||2:";j2;"Ԫ";y2
print "||3Ҷ:";j3;"Ԫ";y3
print "||4:";j4;"Ԫ";y4
pause
key=getkey()
if key=49 and money>j1 then
y1=y1+1
money=money-j1
jl=jl-1
else if key=50 and money>j2 then
y2=y2+1
money=money-j2
jl=jl-2
else if key=51 and money>j3 then
money=money-j3
y3=y3+1
jl=jl-3
else if key=52 and money>j4 then
money=money-j4
y4=y4+1
jl=jl-5
else if key=53 and y1>0 then
y1=y1-1
money=money+j1
jl=jl-1
else if key=54 and y2>0 then
y2=y2-1
money=money+j2
jl=jl-2
else if key=55 and y3>0 then
money=money+j3
y3=y3-1
jl=jl-3
else if key=56 and y4>0 then
money=money+j4
y4=y4-1
jl=jl-5
else if key=48 then
qbj=3
jyj=7
cyj=170
dsj=900
print "һ˳,ڼһ."
print "A ˳ B "
pause
key=getkey()
if key=47 then
goto 90
else if key=48 then
goto 41 
end if
end if
goto 41

50 cls
g1=rnd(8)
g2=rnd(9)
g3=rnd(10)
g4=rnd(12)
rnd=rnd(10)
if rnd=1 then
print "Ǧͻ,"
print "лǦʹɼ۱"
pause
g1=g1-3
else if rnd=2 then
print ",ɼ۴"
pause
g3=g3+3
end if
cls
print "зͶ"
print "1-45-80˳"
print "лǦ";g1;"Ԫ/"
print "ɹϸ";g2;"Ԫ/"
print "ɷ";g3;"Ԫ/"
print "TCL ع";g4;"Ԫ/"
pause
key=getkey()
if key=49 and money>g1 then
gj1=gj1+1
money=money-j1
jl=jl-1
else if key=50 and money>g2 then
gj2=gj2+1
money=money-j2
jl=jl-2
else if key=51 and money>g3 then
money=money-j3
gj3=gj3+1
jl=jl-3
else if key=52 and money>g4 then
money=money-j4
gj4=gj4+1
jl=jl-5
else if key=53 and y1>0 then
gj1=gj1-1
money=money+g1
jl=jl-1
else if key=54 and y2>0 then
gj2=gj2-1
money=money+g2
jl=jl-2
else if key=55 and y3>0 then
money=money+g3
gj3=gj3-1
jl=jl-3
else if key=56 and y4>0 then
money=money+g4
gj4=gj4-1
jl=jl-5
else if key=48 then
goto 2
end if

60 cls
print "ȶͶ"
print "ҪͶ?"
print "A  B "
pause
key=getkey()
if key=97 then
fc=fc+1
money=money-5000
if money<0 then
print "Ǯ"
pause
money=money+5000
fc=fc-1
goto 2
end if
goto 60
else if key=98 then
goto 2
end if
goto 60

70 cls
print "ָ5㻨100"
pause
jl=jl+5
money=money-100
if jl>99 then
print ""
pause
jl=100
end if
goto 2


80 cls
end

90 cls
day=day+1
goto 2

