Skip to content

Commit 7729211

Browse files
newer version of amazing.bas including the fixes that came out after 101 Computer Games
1 parent a29a6d2 commit 7729211

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

bas/amazing.bas

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
680 IF W(R+1,S)<>0 THEN 740
8181
685 IF S<>V THEN 700
8282
690 IF Z=1 THEN 730
83-
695 Q=1:GOTO 830
83+
695 Q=1:GOTO 710
8484
700 IF W(R,S+1)<>0 THEN 730
8585
710 X=INT(RND(1)*2+1)
8686
720 ON X GOTO 860,910
@@ -117,10 +117,15 @@
117117
975 V(R,S)=3:Q=0:GOTO 1000
118118
980 V(R,S)=1:Q=0:R=1:S=1:GOTO 250
119119
1000 GOTO 210
120-
1010 FOR J=1 TO V
121-
1011 PRINT "I";
122-
1012 FOR I=1 TO H
123-
1013 IF V(I,J)<2 THEN 1030
120+
1010 IF Z=1 THEN 1015
121+
1011 X=INT(RND(1)*H+1)
122+
1012 IF V(X,V)=0 THEN 1014
123+
1013 V(X,V)=3: GOTO 1015
124+
1014 V(X,V)=1
125+
1015 FOR J=1 TO V
126+
1016 PRINT "I";
127+
1017 FOR I=1 TO H
128+
1018 IF V(I,J)<2 THEN 1030
124129
1020 PRINT " ";
125130
1021 GOTO 1040
126131
1030 PRINT " I";

0 commit comments

Comments
 (0)