ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

171 lines
5.7 KiB

  1. 1 DIM F(4)
  2. 2 PRINT TAB(31);"FUR TRADER"
  3. 4 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY"
  4. 6 PRINT: PRINT: PRINT
  5. 15 GOSUB 1091
  6. 16 LET I=600
  7. 17 PRINT "DO YOU WISH TO TRADE FURS?"
  8. 18 GOSUB 1402
  9. 19 IF B$="YES" THEN 100
  10. 20 IF B$="YES " THEN 100
  11. 21 STOP
  12. 100 PRINT
  13. 101 PRINT "YOU HAVE $";I; " SAVINGS."
  14. 102 PRINT "AND 190 FURS TO BEGIN THE EXPEDITION."
  15. 261 LET E1=INT((.15*RND(1)+.95)*10^2+.5)/10^2
  16. 262 LET B1=INT((.25*RND(1)+1.00)*10^2+.5)/10^2
  17. 300 PRINT
  18. 301 PRINT "YOUR 190 FURS ARE DISTRIBUTED AMONG THE FOLLOWING"
  19. 302 PRINT "KINDS OF PELTS: MINK, BEAVER, ERMINE AND FOX."
  20. 310 GOSUB 1430
  21. 315 RESTORE
  22. 330 FOR J=1 TO 4
  23. 332 READ B$
  24. 333 PRINT
  25. 335 PRINT "HOW MANY ";B$;" PELTS DO YOU HAVE";
  26. 338 INPUT F(J)
  27. 340 LET F(0)=F(1)+F(2)+F(3)+F(4)
  28. 342 IF F(0)=190 THEN 1100
  29. 344 IF F(0)>190 THEN 500
  30. 348 NEXT J
  31. 350 GOTO 1100
  32. 500 PRINT
  33. 501 PRINT "YOU MAY NOT HAVE THAT MANY FURS."
  34. 502 PRINT "DO NOT TRY TO CHEAT. I CAN ADD."
  35. 503 PRINT "YOU MUST START AGAIN."
  36. 504 GOTO 15
  37. 508 PRINT
  38. 511 PRINT "DO YOU WANT TO TRADE FURS NEXT YEAR?"
  39. 513 GOTO 18
  40. 1091 PRINT "YOU ARE THE LEADER OF A FRENCH FUR TRADING EXPEDITION IN "
  41. 1092 PRINT "1776 LEAVING THE LAKE ONTARIO AREA TO SELL FURS AND GET"
  42. 1093 PRINT "SUPPLIES FOR THE NEXT YEAR. YOU HAVE A CHOICE OF THREE"
  43. 1094 PRINT "FORTS AT WHICH YOU MAY TRADE. THE COST OF SUPPLIES"
  44. 1095 PRINT "AND THE AMOUNT YOU RECEIVE FOR YOUR FURS WILL DEPEND"
  45. 1096 PRINT "ON THE FORT THAT YOU CHOOSE."
  46. 1099 RETURN
  47. 1100 PRINT "YOU MAY TRADE YOUR FURS AT FORT 1, FORT 2,"
  48. 1102 PRINT "OR FORT 3. FORT 1 IS FORT HOCHELAGA (MONTREAL)"
  49. 1103 PRINT "AND IS UNDER THE PROTECTION OF THE FRENCH ARMY."
  50. 1104 PRINT "FORT 2 IS FORT STADACONA (QUEBEC) AND IS UNDER THE"
  51. 1105 PRINT "PROTECTION OF THE FRENCH ARMY. HOWEVER, YOU MUST"
  52. 1106 PRINT "MAKE A PORTAGE AND CROSS THE LACHINE RAPIDS."
  53. 1108 PRINT "FORT 3 IS FORT NEW YORK AND IS UNDER DUTCH CONTROL."
  54. 1109 PRINT "YOU MUST CROSS THROUGH IROQUOIS LAND."
  55. 1110 PRINT "ANSWER 1, 2, OR 3."
  56. 1111 INPUT B
  57. 1112 IF B=1 THEN 1120
  58. 1113 IF B=2 THEN 1135
  59. 1115 IF B=3 THEN 1147
  60. 1116 GOTO 1110
  61. 1120 PRINT "YOU HAVE CHOSEN THE EASIEST ROUTE. HOWEVER, THE FORT"
  62. 1121 PRINT "IS FAR FROM ANY SEAPORT. THE VALUE"
  63. 1122 PRINT "YOU RECEIVE FOR YOUR FURS WILL BE LOW AND THE COST"
  64. 1123 PRINT "OF SUPPLIES HIGHER THAN AT FORTS STADACONA OR NEW YORK."
  65. 1125 GOSUB 1400
  66. 1129 IF B$="YES" THEN 1110
  67. 1130 GOTO 1160
  68. 1135 PRINT "YOU HAVE CHOSEN A HARD ROUTE. IT IS, IN COMPARSION,"
  69. 1136 PRINT "HARDER THAN THE ROUTE TO HOCHELAGA BUT EASIER THAN"
  70. 1137 PRINT "THE ROUTE TO NEW YORK. YOU WILL RECEIVE AN AVERAGE VALUE"
  71. 1138 PRINT "FOR YOUR FURS AND THE COST OF YOUR SUPPLIES WILL BE AVERAGE."
  72. 1141 GOSUB 1400
  73. 1144 IF B$="YES" THEN 1110
  74. 1145 GOTO 1198
  75. 1147 PRINT "YOU HAVE CHOSEN THE MOST DIFFICULT ROUTE. AT"
  76. 1148 PRINT "FORT NEW YORK YOU WILL RECEIVE THE HIGHEST VALUE"
  77. 1149 PRINT "FOR YOUR FURS. THE COST OF YOUR SUPPLIES"
  78. 1150 PRINT "WILL BE LOWER THAN AT ALL THE OTHER FORTS."
  79. 1152 GOSUB 1400
  80. 1155 IF B$="YES" THEN 1110
  81. 1156 GOTO 1250
  82. 1160 LET I=I-160
  83. 1169 PRINT
  84. 1174 LET M1=INT((.2*RND(1)+.7)*10^2+.5)/10^2
  85. 1175 LET E1=INT((.2*RND(1)+.65)*10^2+.5)/10^2
  86. 1176 LET B1=INT((.2*RND(1)+.75)*10^2+.5)/10^2
  87. 1177 LET D1=INT((.2*RND(1)+.8)*10^2+.5)/10^2
  88. 1180 PRINT "SUPPLIES AT FORT HOCHELAGA COST $150.00."
  89. 1181 PRINT "YOUR TRAVEL EXPENSES TO HOCHELAGA WERE $10.00."
  90. 1190 GOTO 1410
  91. 1198 LET I=I-140
  92. 1201 PRINT
  93. 1205 LET M1=INT((.3*RND(1)+.85)*10^2+.5)/10^2
  94. 1206 LET E1=INT((.15*RND(1)+.8)*10^2+.5)/10^2
  95. 1207 LET B1=INT((.2*RND(1)+.9)*10^2+.5)/10^2
  96. 1209 LET P=INT(10*RND(1))+1
  97. 1210 IF P<=2 THEN 1216
  98. 1212 IF P<=6 THEN 1224
  99. 1213 IF P<=8 THEN 1226
  100. 1215 IF P<=10 THEN 1235
  101. 1216 LET F(2)=0
  102. 1218 PRINT "YOUR BEAVER WERE TOO HEAVY TO CARRY ACROSS"
  103. 1219 PRINT "THE PORTAGE. YOU HAD TO LEAVE THE PELTS, BUT FOUND"
  104. 1220 PRINT "THEM STOLEN WHEN YOU RETURNED."
  105. 1221 GOSUB 1244
  106. 1222 GOTO 1414
  107. 1224 PRINT "YOU ARRIVED SAFELY AT FORT STADACONA."
  108. 1225 GOTO 1239
  109. 1226 GOSUB 1430
  110. 1230 PRINT "YOUR CANOE UPSET IN THE LACHINE RAPIDS. YOU"
  111. 1231 PRINT "LOST ALL YOUR FURS."
  112. 1232 GOSUB 1244
  113. 1233 GOTO 1418
  114. 1235 LET F(4)=0
  115. 1237 PRINT "YOUR FOX PELTS WERE NOT CURED PROPERLY."
  116. 1238 PRINT "NO ONE WILL BUY THEM."
  117. 1239 GOSUB 1244
  118. 1240 GOTO 1410
  119. 1244 PRINT "SUPPLIES AT FORT STADACONA COST $125.00."
  120. 1246 PRINT "YOUR TRAVEL EXPENSES TO STADACONA WERE $15.00."
  121. 1248 RETURN
  122. 1250 LET I=I-105
  123. 1254 PRINT
  124. 1260 LET M1=INT((.15*RND(1)+1.05)*10^2+.5)/10^2
  125. 1263 LET D1=INT((.25*RND(1)+1.1)*10^2+.5)/10^2
  126. 1270 LET P=INT(10*RND(1))+1
  127. 1271 IF P<=2 THEN 1281
  128. 1272 IF P<=6 THEN 1291
  129. 1273 IF P<=8 THEN 1295
  130. 1274 IF P<=10 THEN 1306
  131. 1281 PRINT "YOU WERE ATTACKED BY A PARTY OF IROQUOIS."
  132. 1282 PRINT "ALL PEOPLE IN YOUR TRADING GROUP WERE"
  133. 1283 PRINT "KILLED. THIS ENDS THE GAME."
  134. 1284 STOP
  135. 1291 PRINT "YOU WERE LUCKY. YOU ARRIVED SAFELY"
  136. 1292 PRINT "AT FORT NEW YORK."
  137. 1293 GOTO 1311
  138. 1295 GOSUB 1430
  139. 1300 PRINT "YOU NARROWLY ESCAPED AN IROQUOIS RAIDING PARTY."
  140. 1301 PRINT "HOWEVER, YOU HAD TO LEAVE ALL YOUR FURS BEHIND."
  141. 1303 GOSUB 1320
  142. 1304 GOTO 1418
  143. 1306 LET B1=B1/2
  144. 1307 LET M1=M1/2
  145. 1308 PRINT "YOUR MINK AND BEAVER WERE DAMAGED ON YOUR TRIP."
  146. 1309 PRINT "YOU RECEIVE ONLY HALF THE CURRENT PRICE FOR THESE FURS."
  147. 1311 GOSUB 1320
  148. 1312 GOTO 1410
  149. 1320 PRINT "SUPPLIES AT NEW YORK COST $80.00."
  150. 1321 PRINT "YOUR TRAVEL EXPENSES TO NEW YORK WERE $25.00."
  151. 1322 RETURN
  152. 1400 PRINT "DO YOU WANT TO TRADE AT ANOTHER FORT?"
  153. 1402 PRINT "ANSWER YES OR NO",
  154. 1403 INPUT B$
  155. 1404 RETURN
  156. 1410 PRINT
  157. 1412 PRINT "YOUR BEAVER SOLD FOR $";B1*F(2);
  158. 1414 PRINT "YOUR FOX SOLD FOR $";D1*F(4)
  159. 1416 PRINT "YOUR ERMINE SOLD FOR $";E1*F(3);
  160. 1417 PRINT "YOUR MINK SOLD FOR $";M1*F(1)
  161. 1418 LET I=M1*F(1)+B1*F(2)+E1*F(3)+D1*F(4)+I
  162. 1420 PRINT
  163. 1422 PRINT "YOU NOW HAVE $";I;" INCLUDING YOUR PREVIOUS SAVINGS"
  164. 1425 GOTO 508
  165. 1430 FOR J=1 TO 4
  166. 1432 LET F(J)=0
  167. 1434 NEXT J
  168. 1436 RETURN
  169. 2000 DATA "MINK","BEAVER","ERMINE","FOX"
  170. 2046 END