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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

C Port of Ken Thompson's Space Travel

140 点作者 nixcraft超过 2 年前

10 条评论

dotancohen超过 2 年前
For those unfamiliar with the game, development of Space Travel consisted of several ports to different contemporary OSes. This directly led Thompson to develop ideas for his own OS, which we today know as the original Unix.
评论 #34665434 未加载
Waterluvian超过 2 年前
Call me weird but I have an odd nostalgia for games whose control schemes don’t make all that much sense. I had a bunch of Apple II games where the keys weren’t laid out ergonomically at all. As if they were seen more as “software” than a console game.
评论 #34665681 未加载
评论 #34665419 未加载
评论 #34665124 未加载
juancn超过 2 年前
The amount of octal numbers in the source code makes my brain itch.<p>It emulates PDP&#x27;s floating point support with 36 bit words.
ape4超过 2 年前
If I understand correctly there was no floating point on the PDP-7<p><pre><code> &#x2F;&#x2F; format for hand-rolled floating point used in PDP-7 version struct flt { char exp; &#x2F;&#x2F; exponent int m1; &#x2F;&#x2F; signed 36-bit mantissa (0-18) int m2; &#x2F;&#x2F; 18-36 };</code></pre>
评论 #34665750 未加载
dang超过 2 年前
I found surprisingly little in past HN threads:<p><i>Space Travel (the video game that led to creation of Unix)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12563387" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12563387</a> - Sept 2016 (1 comment)<p><i>A video game contributed to Unix Development</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9690739" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=9690739</a> - June 2015 (11 comments)<p><i>Early Unix history and evolution</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4048704" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=4048704</a> - May 2012 (0 comments but top text mentions it)
SloopJon超过 2 年前
At the risk of derailing the conversation on this fun project, one my first thoughts was that this game for a long-dead computer is probably still under copyright for another few decades. Then it occurred to me that even after all of that SCO nonsense, I don&#x27;t know what the copyright&#x2F;license status of ancient Unix is.<p>The code in this repo does not show any license. The repo from which it&#x27;s derived claims GPL 3.0, although the README notes: &quot;The code in the original scans are (c) Micro Focus who own the rights to the Unix source code&quot; (Micro Focus International having acquired Attachmate, which acquired Novell, which bought Unix System Laboratories from AT&amp;T).
评论 #34667212 未加载
mseepgood超过 2 年前
I&#x27;m gonna port it to his new language Go. lol
评论 #34666224 未加载
评论 #34665352 未加载
Egoist超过 2 年前
Not sure if it&#x27;s based on this, but Ken also talked about a similar, but multiplayer game, to play with random people at Bell Labs which sounded fun.<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;EY6q5dv_B-o?t=1171" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;EY6q5dv_B-o?t=1171</a><p>I wonder if the source code for that exists too.
fatneckbeard超过 2 年前
sdl_getticks64 was undefined<p>replaced with sdl_getticks<p>now i just seea bunch of dots on a screen<p>i can zoom in i see a circle<p>i press thrust&#x2F;downthrust and the circle disappears<p>not sure i get it
评论 #34665691 未加载
评论 #34665466 未加载
nativecoinc超过 2 年前
Crazy. I thought Pong was “the first video game (released in the 1970s)”. And this sounds a lot more involved.
评论 #34669202 未加载
评论 #34671041 未加载
评论 #34667865 未加载