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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Nothings Suite

1 点作者 Impossible大约 4 年前

1 comment

zzo38computer大约 4 年前
For ZZT, it says &quot;ASCII (and ANSI?) worlds&quot;; actually, it is the PC character set, which is a superset of ASCII.<p>Inform7 generates a Glulx file, with Blorb wrapping. A minimal Glulx file (without Blorb) is much shorter (and probably Inform7 cannot generate it (even if you remove the Blorb), although I don&#x27;t use Inform7); it would consist of the Glulx header, and then a function header which specifies no local variables, and then a &quot;quit&quot; instruction. The header is 36 bytes, the function header is 3 bytes, and a &quot;quit&quot; instruction is 2 bytes, for a total of 41 bytes, although it must be a multiple of 256, so the minimum size is 256 bytes. Of course, this program won&#x27;t do anything useful (unlike many of the engines listed there). Of course, they used Inform7, so you get all of the default stuff. One which is purely in Glulx is this shorter one like I mentioned.<p>There are other possible game engines&#x2F;systems&#x2F;VMs to consider: MegaZeux (the simple default just has the player can move in the room and does nothing, similar to ZZT, although it is scrolling), SuperZZT (also scrolling), ZILF, Inform6, NES&#x2F;Famicom (which has to consist of at least the iNES header and a 16K bank, which must contain some code if it is to not crash), Free Hero Mesh (it defines default attributes for classes and other stuff, although it won&#x27;t add them automatically; you must first add a picture (which will be a blank 24x24 picture by default, but can be as small as 1x1 or as big as 255x255), and a class, and a level), OHRRPGCE, etc.<p>They mention print-and-play. I was able to produce a much shorter PDF (2105 bytes) with the same content (a single blank page) by typing the following command:<p><pre><code> echo showpage quit | gs -sDEVICE=pdfwrite -o nothing.pdf -dBATCH </code></pre> It is pretty much the same thing; it is a minimal PostScript program which produces a printed document. The difference is they used Microsoft Word, and I used Ghostscript.<p>Also, the source code repository linked does not include source code; only the compiled files are included. (This should be corrected, I hope.)