⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sail.m

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 M
📖 第 1 页 / 共 2 页
字号:
.. @(#)sail.m	1.1 83/03/17.TH SAIL PUBLIC .UC 4.SH NAMEsail \- multi-user wooden ships and iron men.SH SYNOPSIS.B sail[.B \-x] [.B num].br.fi.SH DESCRIPTION.I Sailis a computer version of Avalon Hill's game of fighting sailoriginally developed by S. Craig Taylor..SH NOTES.I Sailis really two programs in one.  Each player keeps track of hisown ship plus a.I DRIVERprogram is execl'd (by the first player) to keep track of thecomputer's ships..PPThe player is given the first available ship in a scenario and thecomputer takes the rest.  Obviously the more ships in your game, thelonger the .I DRIVERwill take to move them. If additional players join the game, theywill be given ships and the.I DRIVERwill have less work to do.  .SH HISTORICAL INFOOld Square Rigger's were very maneuverable ships capable of intricatesailing. Their one main disadvantage was being unable to sail veryclose to the wind. The design of wooden ship allowed only for theguns to bear to the left and right sides.  A few guns of smallaspect (usually 6 or 9 pounders) could point forward, but theireffect would be small compared to a 68 gun broadside of 24 pounders.The guns bear approximately like so:.nf       \\        b----------------    ---0        \\         \\          \\     up to a range of ten (for round shot)           \\            \\             \\.fi.bpAn interesting phenomenon occurred when a broadside could firedown the length of an enemy ship.  The shot tended to bounce alongthe deck and did several times more damage. This phenomenon was calleda rake. It happened that a stern rake (firing from the stern to thebow) occasioned more damage than a bow rake, so that was the mostdesirable. .nf                       \\                        b----------------                    ---0                        \\                         \\      0a   ---  Stern rake!                          \\                           \\                            \\                             \\                              \\.fiMost ships were equipped with Carronades which were very large, closerange cannons.  The carronades have a range of two in this game and canconsiderably add to your fire-power when they come to bear.If the distance to the target ship is greater than 6, the gunscan only fire at the rigging.A ship's guns could fire a variety of ammunition.  For example:.SH ROUNDRange of 10.  Good for hull or rigging hits..SH DOUBLERange of 1.  Extra good for hull or rigging hits.Double takes two turns to load..SH CHAINRange of 3.  Excellent for tearing down rigging.Cannot damage hull or guns, though..SH GRAPERange of 1.  Devastating against enemy crews..PPWhen a ship has been battered into a hulk (zero hull), it has no choice but to surrender to the firing ship.  This ceremony is called\'striking your colours.\'  A struck ship has a chance of exploding orsinking after a while.  When a ship surrenders, its point value isgiven to the aggressor. When a ship is captured, twice the pointvalue is awarded the victor..PPNormally, ships sailed into battle with greatly shortened sail toavoid excessive damage to the precious rigging.  However, in this gamethe player can increase to full sails and move much faster if he wishes.But, all rigging hits incurred with full sails set are doubled.The direction rose displayed on the sample screen gives the maximumspeeds possible for a specific ship at all attitudes to the wind.The full sail speeds are in parenthesis..PPRepairs can be made at the slow rate of two (hull, gun, or rigging)hits restored per three turns..PPShips of class 3 or greater drift when there is wind at the rate ofone \'square\' per turn. Ships of the Line drift one \'square\'every other turn..SH INSTRUCTIONS.I Sailfollows the Avalon Hill advanced rules very closely using theoptional rules for 'exploding ships', 'full sails', and some others.A few unique commands have been added which seemed to be helpful onthe reduced screen. 'i' is such a command..PPBoarding had to go through a major revision.  To prevent immediatecapture of an unprepared crew (fouling is often not reported untilafter boarding has commenced) the boarded ship automatically fightsdefensively (at a small disadvantage) if no DBP's have been prepared..PPThe Order of Play has been eliminated for the player, but the.I DRIVERstill abides by it..PPThe commands for the player were designed to be as intelligent aspossible to save typing.  Some of the nuances I developed should beexplained..nf    ~    Your promptThe others I will illustrate with examples.    move(3, 2): r1l             /* 3 movements max, of which two                                   may be 45' turns. */    move(3,'2): 1r1             /* 3 movements max of which two may                                   be 45' turns, but the ship must                                   move ahead before turning (there                                   is a loss of headway after                                   drifting) */    move(0,'0): r               /* You can always make one turn                                   even when you can't move straight                                   ahead. */.fiIf you are grappled, fouled, or out of crew, you cannot move of course..bp.SH COMMANDS.nf    'f'  Fire broadsides if they bear    'l'  Reload    'm'  Move (see above & below)    'i'  Ask lookout for closest ship    'I'  Ask lookout for closest enemy ship    's'  Send a message around the fleet    'b'  Attempt to board an enemy ship    'L'  Unload broadsides (to change ammo)    'B'  Recall boarding parties    'c'  Change set of sail    'r'  Repair    'u'  Attempt to unfoul    'g'  Grapple/ungrapple   '^L'  Redraw screen    'q'  Quit.fi.bg.SH SCENARIOS.br.SH Ranger vs. Drake:.nfWind from the N, blowing a fresh breeze.(a) Ranger            19 gun Sloop (crack crew) (7 pts)(b) Drake             17 gun Sloop (crack crew) (6 pts).SH The Battle of Flamborough Head:.nfWind from the S, blowing a fresh breeze..fiThis is John Paul Jones' first famous battle.  Aboard the BonhommeRichard, he was able to overcome the Serapis's greater firepowerby quickly boarding her..nf(a) Bonhomme Rich     42 gun Corvette (crack crew) (11 pts)(b) Serapis           44 gun Frigate (crack crew) (12 pts).SH Arbuthnot and Des Touches:.nfWind from the N, blowing a gale.(b) America           64 gun Ship of the Line (crack crew) (20 pts)(b) Befford           74 gun Ship of the Line (crack crew) (26 pts)(b) Adamant           50 gun Ship of the Line (crack crew) (17 pts)(b) London            98 gun 3 Decker SOL (crack crew) (28 pts)(b) Royal Oak         74 gun Ship of the Line (crack crew) (26 pts)(f) Neptune           74 gun Ship of the Line (average crew) (24 pts)(f) Duc Bougogne      80 gun 3 Decker SOL (average crew) (27 pts)(f) Conquerant        74 gun Ship of the Line (average crew) (24 pts)(f) Provence          64 gun Ship of the Line (average crew) (18 pts)(f) Romulus           44 gun Ship of the Line (average crew) (10 pts).SH Suffren and Hughes:.nfWind from the S, blowing a fresh breeze.(b) Monmouth          74 gun Ship of the Line (average crew) (24 pts)(b) Hero              74 gun Ship of the Line (crack crew) (26 pts)(b) Isis              50 gun Ship of the Line (crack crew) (17 pts)(b) Superb            74 gun Ship of the Line (crack crew) (27 pts)(b) Burford           74 gun Ship of the Line (average crew) (24 pts)(f) Flamband          50 gun Ship of the Line (average crew) (14 pts)(f) Annibal           74 gun Ship of the Line (average crew) (24 pts)(f) Severe            64 gun Ship of the Line (average crew) (18 pts)(f) Brilliant         80 gun Ship of the Line (crack crew) (31 pts)(f) Sphinx            80 gun Ship of the Line (average crew) (27 pts).SH Nymphe vs. Cleopatre:.nfWind from the S, blowing a fresh breeze.(b) Nymphe            36 gun Frigate (crack crew) (11 pts)(f) Cleopatre         36 gun Frigate (average crew) (10 pts).SH Mars vs. Hercule:Wind from the S, blowing a fresh breeze..nf(b) Mars              74 gun Ship of the Line (crack crew) (26 pts)(f) Hercule           74 gun Ship of the Line (average crew) (23 pts).SH Ambuscade vs. Baionnaise:.nfWind from the N, blowing a fresh breeze.(b) Ambuscade         32 gun Frigate (average crew) (9 pts)(f) Baionnaise        24 gun Corvette (average crew) (9 pts).SH Constellation vs. Insurgent:.nfWind from the S, blowing a gale.(a) Constellation     38 gun Corvette (elite crew) (17 pts)(f) Insurgent         36 gun Corvette (average crew) (11 pts).SH Constellation vs. Vengeance:.nfWind from the S, blowing a fresh breeze.(a) Constellation     38 gun Corvette (elite crew) (17 pts)(f) Vengeance         40 gun Frigate (average crew) (15 pts).SH The Battle of Lissa:.nfWind from the S, blowing a fresh breeze.(b) Amphion           32 gun Frigate (elite crew) (13 pts)(b) Active            38 gun Frigate (elite crew) (18 pts)(b) Volage            22 gun Frigate (elite crew) (11 pts)(b) Cerberus          32 gun Frigate (elite crew) (13 pts)(f) Favorite          40 gun Frigate (average crew) (15 pts)(f) Flore             40 gun Frigate (average crew) (15 pts)(f) Danae             40 gun Frigate (crack crew) (17 pts)(f) Bellona           32 gun Frigate (green crew) (9 pts)(f) Corona            40 gun Frigate (green crew) (12 pts)(f) Carolina          32 gun Frigate (green crew) (7 pts).SH Constitution vs. Guerriere:.nfWind from the SW, blowing a gale.(a) Constitution      44 gun Corvette (elite crew) (24 pts)(b) Guerriere         38 gun Frigate (crack crew) (15 pts).SH United States vs. Macedonian:.nfWind from the S, blowing a fresh breeze.(a) United States     44 gun Frigate (elite crew) (24 pts)(b) Macedonian        38 gun Frigate (crack crew) (16 pts).SH Constitution vs. Java:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -