Prev: Re: [FTFB] More on Fighter Bays and Hangers . . . Next: Re: [FT] SMLs, Type 3 & Tactics

Re: [FT] SMLs, Type 3 & Tactics

From: DracSpy@a...
Date: Mon, 11 Jan 1999 23:51:52 EST
Subject: Re: [FT] SMLs, Type 3 & Tactics

In a message dated 99-01-11 18:22:33 EST, you write:

<< >>Dead Meat vs the 6 thrust equivalent with 4000 or so Type 1s. But
 >>rolling 4000 dice would be tedious at best :)
 >use Qbasic:
 >randomize timer
 >for a= 1 to 4000
 > b=int(rnd*6)+1
 > if b=4 or b=5 then c=c+1
 > if b=6 then c=c+2
 >next a
 >print c
 >
 >use that program, all 4k dice are rolled.
 
     You forgot the rerolls if "6" is rolled on the dice! >>
good point, here is the revision
randomize timer
for a = 1 to 4000
      Reroll:
      b=int(rnd*6)+1
      if b=4 or b=5 then c=c+1
      if b=6 then c=c+2: goto Reroll
next a
print C

there you go.
-Stephen


Prev: Re: [FTFB] More on Fighter Bays and Hangers . . . Next: Re: [FT] SMLs, Type 3 & Tactics