diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a25fa4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Mac files +.DS_Store +build/.DS_Store diff --git a/build/cc64.sav b/build/cc64.sav new file mode 100644 index 0000000..69ae57e --- /dev/null +++ b/build/cc64.sav @@ -0,0 +1 @@ + 7668 0 0 0 0 0 \ No newline at end of file diff --git a/build/cookie.prg b/build/cookie.prg index ad7682a..249127d 100644 Binary files a/build/cookie.prg and b/build/cookie.prg differ diff --git a/build/cookie.prg.out.prg b/build/cookie.prg.out.prg index 7480116..72958e0 100644 Binary files a/build/cookie.prg.out.prg and b/build/cookie.prg.out.prg differ diff --git a/prg.txt b/prg.txt index 4add13e..0c0a9d2 100644 --- a/prg.txt +++ b/prg.txt @@ -1,274 +1,60 @@ 0 rem !to "build/cookie.prg" -10 cc=0:cg=0:ca=0:ga=0:ft$="0":mt$="0" -20 if dm$<>"1"thendim cl$(23) -30 dm$="1" -50 ds$=chr$(17):rem cursor down -60 rs$=chr$(29):rem cursor right -65 ls$=chr$(157):rem cursor left -70 c1=15:c2=100:c3=1100:c4=12000 -80 print"{clear}{home}" +10 cc=0:cg=0:ca=0:ga=0:ft$="0":mt$="0":bn$="someone" +20 ds$=chr$(17):rem cursor down +30 rs$=chr$(29):rem cursor right +40 ls$=chr$(157):rem cursor left +50 c1=15:c2=100:c3=1100:c4=12000 +99 print"{clear}{home}" -400 cl$(0)="{grey2}*CCCCCCCCCCCCCCCCCCCCCCCCC*CCCCCCCCCCC*" -410 cl$(1)="{grey2}B{wht} you have {grey2}B{wht}cursor(c) {grey2}B" -420 cl$(2)="{grey2}B{wht} cookies {grey2}B" -430 cl$(3)="{grey2}*CCCCCCCCCCCCCCCCCCCCCCCCC*{wht}cost: {grey2}B" -440 cl$(4)="{grey2}B bakery B" -450 cl$(5)="{grey2}B *CCCCCCCCCCC*" -460 cl$(6)="{grey2}B B{wht}grandma(g) {grey2}B" -470 cl$(7)="{grey2}B B" -480 cl$(8)="{grey2}B {brown}********{grey2} B{wht}cost: {grey2}B" -490 cl$(9)="{grey2}B {brown}*******{blk}**{brown}*{grey2} B" -500 cl$(10)="{grey2}B {brown}***{blk}*{brown}********{grey2} *CCCCCCCCCCC*" -510 cl$(11)="B {brown}***{blk}**{brown}*********{grey2} B B" -520 cl$(12)="B {brown}********{blk}**{brown}****{grey2} B B" -530 cl$(13)="B {brown}********{blk}**{brown}****{grey2} B B" -540 cl$(14)="B {brown}**************{grey2} B B" -550 cl$(15)="B {brown}*{blk}*{brown}************{grey2} B B" -560 cl$(16)="B {brown}*************{brown}*{grey2} B B" -570 cl$(17)="B {brown}******{blk}**{brown}****{grey2} B B" -580 cl$(18)="B {brown}*****{blk}**{brown}***{grey2} B B" -590 cl$(19)="B {brown}********{grey2} B B" -600 cl$(20)="B *CCCCCCCCCCC*" -610 cl$(21)="B B{wht}settings(s){grey2}B" -630 cl$(22)="B v2.9.0 B{grey1}upgrades(u){grey2}B" -630 cl$(23)="*CCCCCCCCCCCCCCCCCCCCCCCCC*CCCCCCCCCCC*" +1000 print"{grey2}UCCCCCCCCCCCCCCCCCCCCCCCCC{$b2}CCCCCCCCCCCI" +1010 print"{grey2}B you have 0 {grey2}B{wht}cursor(c) {grey2}B" +1020 print"{grey2}B cookies {grey2}B{wht} "ca" {grey2}B" +1030 print"{grey2}{$ab}CCCCCCCCCCCCCCCCCCCCCCCCC{$b3}{wht}cost: {grey2}B" +1040 print"{grey2}B {grey2}B{wht}15 {grey2}B" +1050 print"{grey2}B {grey2}{$ab}CCCCCCCCCCC{$b3}" +1060 print"{grey2}B {grey2}B{wht}grandma(g) {grey2}B" +1070 print"{grey2}B {grey2}B{wht} "ga" {grey2}B" +1080 print"{grey2}B {brown}******** {grey2}B{wht}cost: {grey2}B" +1090 print"{grey2}B {brown}*******{blk}**{brown}* {grey2}B{wht}100 {grey2}B" +1100 print"{grey2}B {brown}***{blk}*{brown}******** {grey2}{$ab}CCCCCCCCCCC{$b3}" +1110 print"{grey2}B {brown}***{blk}**{brown}********* {grey2}B B" +1120 print"{grey2}B {brown}********{blk}**{brown}**** {grey2}B B" +1130 print"{grey2}B {brown}********{blk}**{brown}**** {grey2}B B" +1140 print"{grey2}B {brown}************** {grey2}B B" +1150 print"{grey2}B {brown}*{blk}*{brown}************ {grey2}B B" +1160 print"{grey2}B {brown}*************{brown}* {grey2}B B" +1170 print"{grey2}B {brown}******{blk}**{brown}**** {grey2}B B" +1180 print"{grey2}B {brown}*****{blk}**{brown}*** {grey2}B B" +1190 print"{grey2}B {brown}******** {grey2}B B" +1200 print"{grey2}B {$ab}CCCCCCCCCCC{$b3}" +1210 print"{grey2}B B{wht}settings(s){grey2}B" +1220 print"{grey2}B v2.9.0 Bupgrades(u)B" +1230 print"{grey2}JCCCCCCCCCCCCCCCCCCCCCCCCC{$b1}CCCCCCCCCCCK" -650 rem ft$="0":mt$="0" +1300 print"{home}{down}{down}{down}{down}B "bn$"'s bakery -700 print cl$(0) -710 print cl$(1)ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$int(cc) -720 print cl$(2)"{wht} 0 {grey2}B"ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ca$ -730 print cl$(3) -740 print cl$(4)"{wht}15 {grey2}B" -750 print cl$(5) -760 print cl$(6) -770 print cl$(7)"{wht} 0 {grey2}B"ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ls$ga$ -780 print cl$(8) -790 print cl$(9)"{wht}100 {grey2}B" -800 print cl$(10) -810 print cl$(11):rem f -820 print cl$(12):rem f -830 print cl$(13):rem f -840 print cl$(14):rem f -850 print cl$(15) -860 print cl$(16):rem m -870 print cl$(17):rem m -880 print cl$(18):rem m -890 print cl$(19):rem m -900 print cl$(20) -910 print cl$(21) -920 print cl$(22) -940 print cl$(23) +1500 ft$="0":mt$="0" -950 rem stop - -1000 if ft$="0" then gosub 10000 -1010 if mt$="0" then gosub 11000 - -1410 get k$:if k$= "" then 1900 -1415 if k$=" " then 2000 -1420 if k$="c" then 3000 -1430 if k$="g" then 4000 -1440 if k$="f" then 5000 -1450 if k$="m" then 6000 -1460 if k$="s" then 30000 -1890 rem start of auto add -1900 cc=cc+cg -1910 print"{home}"ds$"{grey2}B{wht} you have "int(cc) -1920 goto 1000 - - -1990 rem start of 'clicking' - - -2000 cc=cc+1 +1900 if ft$="0" then goto 1900 rem gosub +1910 if mt$="0" then gosub +1920 get k$:if k$= "" then 1920 +1930 if k$=" " then 2100 +1940 if k$="c" then +1950 if k$="g" then +1960 if k$="f" then +1970 if k$="m" then +1980 if k$="s" then +1990 rem start of auto add +2000 cc=cc+cg 2010 print"{home}"ds$"{grey2}B{wht} you have "int(cc) -2020 goto 1000 +2020 goto 1900 -2990 rem start of cursor CLEAN THIS CODE FOR 2.0.1 +2099 rem part 2 -3000 if cc