TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Star Trek 1971 Text Game (2008)

104 点作者 deanmen大约 11 年前

17 条评论

butterfi大约 11 年前
This is the first computer game I ever played. My mom was a secretary at a local university, and there was a computer lab across the hall from her office. I&#x27;d go there after school to wait for a ride home, and someone logged me in and set me on my way. This was all on paper-feed terminals and I&#x27;d take the stack of printout homes and read through each game over and over. This is when I fell in love with computers.<p>In the early nineties I decided to learn about unix, and this was the first game I played after setting my first BSD box up. This is when I fell in love with unix.<p>Thanks for the game, to the original programmer(s) to all the people who have kept it alive. This program is special to me.
评论 #7557580 未加载
评论 #7558977 未加载
评论 #7558758 未加载
DanielBMarkham大约 11 年前
Looking at this source code brings back memories. Star Trek was ported everywhere there was a BASIC.<p>When I was 16, in 1981, our school got it&#x27;s first computer, a Commodore Pet. 4K of RAM! Basic! Hi-tech graphics on the keys!<p>We only had one, it was in the library, and you had to 1) sign up for it, and 2) get a pass to leave study hall to come to the library.<p>My math teacher was an easy touch, so I scored a pass every day to go to the library. Unfortunately, other students also wanted to use the computer, and there was quite a bit of hijinks involved with actually making it happen (Hint: never sign up in pencil).<p>I learned how to code going through the Star Trek game and figuring out how it worked.<p>As a side note, my nemesis at the time was Roland. So I spent the formative years of my programming life creating a game called &quot;Kill Roland&quot; in Pet Basic. It was mostly Space Invaders, with a little bit of Star Trek thrown in. Little Rolands (&quot;R&quot;s) would come down from the top of the screen, you would use the arrow keys to move your guy around at the bottom, and the space bar launched missiles. There were smart missiles, that you could control after firing, heat seekers, and so on. Of course, the Rolands just kept coming, more and more of them (at times splitting in 2)<p>All the other kids at the library loved that game. Roland, not so much.<p>Fun times. I&#x27;d love to play Star Trek in BASIC again. (Zork would be a close second)
评论 #7557288 未加载
评论 #7557860 未加载
aeberbach大约 11 年前
If you like this kind of thing, try to find copies of books by Dave Ahl - see <a href="http://en.wikipedia.org/wiki/BASIC_Computer_Games" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;BASIC_Computer_Games</a><p>I like this kind of thing and I have both books. A family friend CP&#x2F;M system was by first gaming experience and I played all of them. The Star Trek here exists in a sort of copyright limbo, CBS obviously didn&#x27;t license it but it was too popular to squash. I remember seeing ports of this to Amiga, Palm Pilot and Windows CE over the years.<p>Colossal Cave is a contemporary - it wasn&#x27;t distributed as source (to my recollection... compiled OBASIC.COM IIRC?) so it isn&#x27;t in the books but it was my favourite.
评论 #7557853 未加载
评论 #7558177 未加载
_xo_大约 11 年前
If you want to try a version of Star Trek in your browser (ztrek) - <a href="http://z-machine.lilawelt.de/game/ztrek/play/" rel="nofollow">http:&#x2F;&#x2F;z-machine.lilawelt.de&#x2F;game&#x2F;ztrek&#x2F;play&#x2F;</a>
ryandrake大约 11 年前
I remember transcribing this onto a Commodore 64 line-by line from an issue of _Creative Computing_. And at the end of the day it worked!
JoeAltmaier大约 11 年前
My favorite: Begin, a Tactical Star Trek Simulation. Its like this game but on steroids. Vast galaxy, a whole fleet in combat on each side, Klingons and Romulans and Orions, many vessel classes! Google it, its everywhere, even Wikipedia.<p>And I know the guy who wrote it, in fact I still work with him. Tom Nelson, who can craft code like a work of art.<p>If you like playing these games, I definitely suggest giving Begin a try.<p>(Why &#x27;Begin&#x27;? Because in the progenitor to this game, in BASIC, on an HP2000 there was a maximum code size. Large programs had to be written in pieces and &#x27;chained&#x27; together in modules. The modules were numbered but the first was called &#x27;Begin&#x27;.)
Semiapies大约 11 年前
I remember a rather similar DOS game with an ASCII display (and probably a decade younger in coding) that was a turn-based fleet battle between whichever two sides (of Federation, Klingon, Romulan, or Orion) and relative ship numbers per side you liked. For some reason, the executable was called &quot;begin.exe&quot;.<p>Pity I lost track of the disk.
评论 #7557187 未加载
lewispollard大约 11 年前
&gt; This is an artifact of BASIC. It doesn’t really have an effect in C#. In BASIC, just as in C#, the randomizer could have been initialized based off the system time. If that was not an option, they should have taken advantage of the instructions prompt.<p>User inputted seeds were in a lot of classic text based, randomly generated games - by sharing the seed with friends, you could play through exactly the same game and see who did it better. Multiplayer!
评论 #7558527 未加载
xenophonf大约 11 年前
Good ol&#x27; trek was the very first video game I played on the family computer! This was a IMS 5000SX running TurboDOS 1.2, some time in 1983 I think. (Why my father saw fit to buy this thing instead of an Apple II is a question for another day. The best the IMS could do was drive a text-only WYSE-50 terminal at maybe 19200 baud.) Later on, my cousin would dial me into his 3B2 (using Tymnet or Telenet!) so I could play a full-screen variant called &quot;vtrek&quot;. I found the vtrek sources on an FTP archive several years ago, but it requires BSD 4.3-style termios, and I just don&#x27;t have it in me to port it to curses or something more modern.
Zardoz84大约 11 年前
I don&#x27;t know that this game was an ASCII game. The first time that I saw it was the MS-DOS versions egatrek and vgatrek.
dghf大约 11 年前
I played this on an ICL One Per Desk (<a href="http://en.wikipedia.org/wiki/One_Per_Desk" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;One_Per_Desk</a>), sometime in the mid-80s. I loved it.
spikexxx大约 11 年前
I learned to program typing this into the mainframe at the college where my dad worked and then fiddling with the code to see what happen. I still learn that way.
cpayne大约 11 年前
What is the modern day equivalent to this? So many have commented that this was their first (and mine too!) exposure to computers. Something in php? Rails?
评论 #7558184 未加载
Pxtl大约 11 年前
Oh, that&#x27;s neat... I assume this was the predecessor to EGATrek?
t3hSpork大约 11 年前
I have played ATS a Trek MUSH: telnet ats.trekmush.org 1701
flares大约 11 年前
How to play this game? .. i downloaded the source but cannot run it..? is there any interface that i require?
评论 #7558274 未加载
fredgrott大约 11 年前
this had a different name on commodore computers with graphics but same exact play and screens