Idea · Oct 3, 2026

Build Your Own Fantasy Console

Student teams design and implement a tiny PICO-8-style fantasy console: an instruction set, a VM with memory-mapped graphics and sound, an assembler, a sprite editor, and a cartridge format, then ship a playable game on it.

What it would do

Inspired by Pyxel (a retro Python game engine with built-in art and sound editors) and a Show HN space game with an embedded RISC-V emulator, this assignment has students build the whole stack of a retro machine. Weeks 1-2: design a small 16-bit ISA from a provided spec skeleton and implement the fetch-decode-execute VM with a test suite of instruction-level traces. Weeks 3-4: add memory-mapped I/O for a 128x128 16-color framebuffer, a sprite sheet region, a gamepad register, and a square-wave sound channel, and write a two-pass assembler with labels and macros. Weeks 5-6: build a browser sprite and tile editor that saves into the cartridge's memory regions, define a .cart file format (code, sprites, map, sfx), and write a game in their own assembly. Final week: cartridges are swapped between teams, which tests whether each team's spec was precise enough for another team's VM to run it.

Key features

  • Starter ISA spec template, trace-based autograder for instruction semantics
  • Memory-mapped framebuffer, sprites, input, and a simple sound channel
  • Two-pass assembler with labels, macros, and helpful error messages
  • In-browser sprite and tile editor writing directly into cartridge memory
  • Cartridge file format and a cross-team cartridge swap as the final compatibility test
  • Optional extension: a tiny high-level language compiled to the team's ISA

More in Systems & Hardware

Fork Count

Paste a short fork/exec/wait/printf snippet and see every process it creates, every possible output interleaving, and which outputs are impossible, with auto-generated 'how many times is hello printed?' quizzes.

BuiltSystems & HardwareProduct for a businessOct 9, 2026

Program Alarm 1202

A playable simulation of the Apollo Guidance Computer's priority Executive during the lunar landing: you fly the descent while a faulty radar switch steals cycles, and you watch Margaret Hamilton's restart design shed low-priority jobs so landing guidance survives.

BuiltSystems & HardwareProduct for a businessOct 8, 2026

Build Your Own Node-Based Terminal Workspace

A multi-week systems-plus-web assignment where students build a PTY daemon and a canvas UI that arranges live shell sessions as connected nodes, with persistence and reattach like tmux.

Systems & HardwareClass assignmentLargeSep 24, 2026

Build Your Own Agent Orchestrator

Students implement a minimal multi-agent orchestration runtime from scratch - task queue, tool registry, message passing, failure handling - to see what frameworks like AutoGen or Google's new ax runtime actually do under the hood.

Systems & HardwareClass assignmentLargeSep 23, 2026

All 39 ideas in Systems & Hardware →