nowfound

Dev tools · January 13, 2024

CP

C port of the (non-super) Star Trek game, incl. WASM for browser/phone

Hi HN, I've decided to port the original (non-super) Star Trek game to C since I wanted to try playing the original but wasn't able to find a lot of sources that run on modern machines. Therefore I based this port on Michael Birken's 2008 C# port. This is in contrast to the Super Star Trek game which was far more popular and has a number of sources available on the web. I took some hamfisted measures to allow the Web Assembly version of the game to be played on mobile as well, it's not very pretty but it kind of works. You can tap into the terminal to open your phone keyboard, then the…

What it does

In the maker’s words, at launch

Hi HN, I've decided to port the original (non-super) Star Trek game to C since I wanted to try playing the original but wasn't able to find a lot of sources that run on modern machines. Therefore I based this port on Michael Birken's 2008 C# port. This is in contrast to the Super Star Trek game which was far more popular and has a number of sources available on the web. I took some hamfisted measures to allow the Web Assembly version of the game to be played on mobile as well, it's not very pretty but it kind of works. You can tap into the terminal to open your phone keyboard, then the terminal should be visible in the top half while the keyboard can stay open in the lower half. The tips section on the page has some further hints. The port itself is quite crude but I made sure that it is ANSI C89 compliant, because I wanted the game to be able to run on just about anything. For the best effect, I recommend playing the game using the aptly named cool-retro-term. https://github.com/Swordfish90/cool-retro-term This is the best way to play short of hooking up your needle printer as a faux teletype terminal.

Does a similar job

all alternatives →
  • MP
    My platforming game written in C 892023 · zamfofex.neocities.org · ▲127

    I have been working on this game somewhat sparsely for the past three years or so. However, it is still in a very early stage, and there is a lot of work to do. One of my friends encouraged me to post about it here, since he felt people might find interesting how I don’t use any libraries for it. The game can be played on a browser by virtue of WebAssembly. There are native ports using either MiniFB or SDL2, but you have to build those yourself. I decided to write the game in C because I feel like it is a simple language that a lot of people can understand well enough, and I didn’t think I…

  • RI
    Resurrecting Infocom's Unix Z-Machine with Cosmopolitan2025 · christopherdrum.github.io · ▲157

    I recently brought Infocom's original UNIX z-machine source code back to life on modern systems. The modified source code, instructions on usage, a build of the z-machine, and examples of embedded game executables are available. There is also a detailed write-up about the state of the original source code, the porting process, and the invaluable role Justine Tunney's Cosmpolitan project played in bringing the Zork trilogy (and more) to Windows/Mac/Linux/bsd for arm/x86 machines over the course of a lazy Sunday.

  • Star Trek Text2016 · ▲93

    Send anyone Star Trek inspired text messages

  • SI
    Space Invaders in C2019 · blog.loadzero.com · ▲478
  • IM
    I made a browser-based RTS game2022 · battle-of-flags.com · ▲212

    I've posted this game here before, hopefully a repost is fine as the game has changed quite a bit (improved AI, improved mapeditor, much quicker gameplay, etc). Game is based on JavaScript/Canvas and WebSockets. On the browser side the map is pre-rendered (as a background image), just the mobile units/buildings and animations are dynamically rendered. The lobby server is made in node.js, but the game server is C++ for performance reasons (mainly the pathfinding). I found the C++ WebSocket libraries out there to be too difficult to use so I made my own based on the rfc. Overall I…

  • CG
    Continuum Game (68k Mac) Ported to JavaScriptSep 2025 · continuumjs.com · ▲9

    This was an interesting porting project for a few reasons (IMO): - The original game is/was awesome and, from a programming perspective, a wonder -- smooth scrolling arcade game on a 128kb Mac in 1984... - The port was done with a lot of help from AI (mostly Claude Code, but some Gemini CLI as well). I'm a programmer; it wasn't vibe-coded. But I couldn't have done the port of 68k assembly without it. FWIW, Claude seemed better at actually porting the 68k assembly but Gemini was better at finding bugs. YMMV. - I love Redux and Redux Toolkit for state management. For the port, I put the…

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 26d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 21d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 12d ago · x1.new

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 2d ago · opentrailpaper.com

  • Open-source GTM skills for technical founders

    Dev tools · 30d ago · gtmcofounder.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 25d ago · nuphos.ai

Launched alongside, January 2024

the whole month →