Lest is a first-person 3D game for an unmodified Commodore 64, built in 6502 assembly with Claude’s assistance. Its central achievement is making the view smoother and more detailed than the sub-10-frame-per-second, blocky graphics common in earlier C64 3D games. The renderer uses a 40-by-25 character-mode display whose cells form a 160-by-200 multicolour image. It relies on extensive optimisations: a character set derived from rendered imagery, mirrored rendering that halves the work, ray casting focused on likely wall corners, interpolation between edges, cached screen regions, and hardware sprites with culling and occlusion. The game’s ten levels use a biblical garden-and-exile setting, with distinct effects and features loaded only where needed.
The project is playable in a browser or through C64 disk and EasyFlash cartridge images, and supports PAL and NTSC systems, keyboard or joystick controls, and optional builds for Dvorak keyboards and different SID audio characteristics. Its build system generates the game and assets, assembles the code, arranges memory, creates disk and cartridge versions, and checks conditions such as memory overlaps and opcode requirements. A fast loader uses the 1541 disk drive’s own processor to speed transfers; cartridge builds avoid a disk drive altogether. The repository also includes rendering and testing documentation, performance tools, level maps, and asset-generation utilities. The code, artwork, and level designs are released under the MIT licence, alongside separately licensed third-party components.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.