| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| Old Code https://mail.black-squirrel.com/viewtopic.php?f=14&t=32059 |
Page 1 of 1 |
| Author: | Promethius [ Mon Aug 15, 2011 2:12 am ] |
| Post subject: | Old Code |
I came across a site tonight that I visited a long time ago. The below is part of the code from a program they have: Code: 350 PRINT 360 PRINT " THE DATE IS JAN 1, 2070 AND INTERSTELLAR FLIGHT" 370 PRINT "HAS EXISTED FOR 70 YEARS. THERE ARE SEVERAL STAR" 380 PRINT "SYSTEMS THAT HAVE BEEN COLONIZED. SOME ARE ONLY" 390 PRINT "FRONTIER SYSTEMS, OTHERS ARE OLDER AND MORE DEVELOPED." 400 PRINT 410 PRINT " EACH OF YOU IS THE CAPTAIN OF TWO INTERSTELLAR" 420 PRINT "TRADING SHIPS. YOU WILL TRAVEL FROM STAR SYSTEM TO" 430 PRINT "STAR SYSTEM, BUYING AND SELLING MERCHANDISE. IF YOU" 440 PRINT "DRIVE A GOOD BARGAIN YOU CAN MAKE LARGE PROFITS." 450 PRINT 460 PRINT " AS TIME GOES ON, EACH STAR SYSTEM WILL SLOWLY" 470 PRINT "GROW, AND ITS NEEDS WILL CHANGE. A STAR SYSTEM THAT" 480 PRINT "HOW IS SELLING MUCH URANIUM AND RAW METALS CHEAPLY" 490 PRINT "MAY NOT HAVE ENOUGH FOR EXPORT IN A FEW YEARS." 500 PRINT 510 PRINT " YOUR SHIPS CAN TRAVEL ABOUT TWO LIGHTYEARS IN A" 520 PRINT "WEEK AND CAN CARRY UP TO";W;" TONS OF CARGO. ONLY" 530 PRINT "CLASS I AND CLASS II STAR SYSTEMS HAVE BANKS ON THEM." 540 PRINT "THEY PAY 5% INTEREST AND ANY MONEY YOU DEPOSIT ON ONE" 550 PRINT "PLANET IS AVAILABLE ON ANOTHER - PROVIDED THERE'S A LOCAL" 560 PRINT "BANK." .... and another that is a bit more recent - hold transfer - interesting, that would rock the boat: Code: overlay procedure holdxfer; begin if userr.fo <> 0 then begin cls; ttn := userr.fo; welldone := FALSE; repeat readin(ttn,userz); prompt('Exchange with '+userz.fa+' (Y/N) [N]? '); if yn then if ((userr.fr = userz.fr) and (userr.fr<>0)) then begin welldone := TRUE; prompt('Transfer To or From '+userz.fa+' (T/F) [T]? '); input(choices,1); if choices = '' then choices := 'T'; print('You have '+cstr(userr.fh)+' holds, and '+userz.fa+' has '+cstr(userz.fh)); if choices = 'T' then ij := 1 else ij := (-1); prompt('How many to transfer? '); |
|
| Author: | Promethius [ Mon Aug 15, 2011 12:34 pm ] |
| Post subject: | Re: Old Code |
The first code snippet comes from: Star Traders The initial inspiration for all of the Trade Wars games. From Hewlett-Packard's "The People's Book of Computer Games" The second, file stamped 1988, is suposed to be: Trade Wars 2001 The original version of Trade Wars by Gary and Mary Ann Martin, aka Martech The full code to the above is available including several versions of TW and Yankee Trader by Alan Davenport (don't know about the source). |
|
| Author: | Promethius [ Mon Aug 15, 2011 12:52 pm ] |
| Post subject: | Re: Old Code (TW and more) |
... and even expanders, mods: The Mad Hatter's TW2002 Universe Expander V0.88 A utility for the Trade Wars 2002 BBS door game. The unregistered version allows you to hook 2 universes together giving a total of 2000 sectors for your players to use. The registered version allows for up to 20,000 sectors, and the Intra-Universal Stardock. Shareware The link for anyone wanting to see some of the history regarding code and add-ons that were once available is: http://www.tmcbbs.com/twvariants.html |
|
| Author: | Cruncher [ Mon Aug 15, 2011 2:09 pm ] |
| Post subject: | Re: Old Code |
Very nice! JP needs to snatch that up for the TW Wiki! |
|
| Author: | John Pritchett [ Mon Aug 15, 2011 5:32 pm ] |
| Post subject: | Re: Old Code |
Hopefully that's all included in the TW Museum, but if there's something missing, I'd like to add it. http://wiki.classictw.com/index.php?tit ... plications The TW 2001 code was distributed without Martech's permission, however. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|