> The Treaty of Algeron with the Romulans in Stardate 2311 prohibits the use of cloaking devices. If a Romulan ship observes you cloaking or uncloaking after this point in time you will be in violation, which will hurt your final score.
Upon seeing this game, Tom Nelson and a friend wrote Begin, a tactical Star Trek simulation. It's been in C for over a decade, and still has a following. You can find it on Abandonia and other places. Even has a Wikipedia page. Though as far as I know it ISNT based on the Star Trek Battles paper game as suggested there. I'll ask Tom tomorrow.
I learned programming by reading the source code of this game in the fantastic book by David Ahl. I still remember an array called K which contained the X,Y coordinates and shield strength of each Klingon warship.
I remember playing Star Trek on HP teletypes connected to the Peoria mainframe in the high school math lab. Jeez we burned through a lot of paper.
A friend modded a version to automatically fire photon torpedoes when you entered a sector with Klingons. It calc'd the trajectory so it never missed.
Of course the downside was the blow back if you shot one right next to you. Or if there was a star in the way. Or there were >3 Klingons that would hammer you while the computer is cycling through the auto firing sequence.
ok, i just tried it again. Still have no clue how to move or fire. That version is too simplistic (just fire a torpedo at X Y and you destroy the klingon) and the bsdgame original is completely arcane. this is what the man page says about movement and targeting:
"""
The course is determined by the Space Inertial Navigation
System [SINS]. As described in Star Fleet Technical Order
TO:02:06:12, the SINS is calibrated, after which it becomes the
base for navigation. If damaged, navigation becomes inaccurate.
When it is fixed, Spock recalibrates it, however, it cannot be
calibrated extremely accurately until you dock at starbase.
"""
looking at the source it validates course as 0 to 360.. so looks like angle. yet 0 goes up. 90 goes up...
(It is actually not emscripten -- it uses a z-machine emulator I adapted to js a long time ago to run the z-machine version of star trek. But - should be good enough :) )
A true Star Trek fan would know this violates the Treaty of Algeron: http://en.memory-alpha.org/wiki/Treaty_of_Algeron