Skip to content
AI News HubLIVE
More
Summary only

The Teleport Contest: Port >440k LoC (NetHack) from C to JavaScript

A contest to port the classic game NetHack (over 440k lines of C code) to JavaScript. It features two phases: Phase 1 for parity against NetHack 5.0, Phase 2 for generalization to 5.1. Entries are categorized as agentic, transpiled, or other. Scoring is based on matching screen renders and PRNG with the official C version. The first transpiled solution has been submitted, and the contest runs through end of 2026.

SourceHacker News AIAuthor: abgruszecki
The Teleport Contest: Port >440k LoC (NetHack) from C to JavaScript
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions

Summary only

Under the source content permission, this page provides an editorial summary, key points, and a link to the original article.

Key points and analysis

Article intelligence

EngineersIntermediate

Key points

  • The goal is to port NetHack's 440k lines of C code to JavaScript.
  • Scoring is based on frame-by-frame screen and PRNG match with C version.
  • First entry uses Emscripten to transpile the C code.
  • Two phases: Phase 1 for parity, Phase 2 for maintainability.

Highlights and analysis are generated automatically and may contain errors. Check the original source.