FPS.cob: A first person shooter in COBOL

Published: (June 11, 2026 at 11:13 AM EDT)
1 min read

Source: Hacker News

FPS.cob is what you get when you decide that game development is too easy nowadays. Enjoy what can only be described as an out-of-body experience in the ways of COBOL tomfoolery.

It supports two level styles:

  • map/level1.map: the original grid-based Wolf3D-style path.

  • map/doom_sectors.map: a sector/linedef map with doors, different heights (so DOOM-like).

Requirements

  • cobc

  • ffplay

  • bash

Run

From the repo root:

bash build.sh

To load a specific map:

bash build.sh ./map/level1.map bash build.sh ./map/doom_sectors.map

Controls

  • W / S: move forward and backward

  • A / D: turn left and right

  • Space: fire

  • Q: quit

Assets

Textures and sprites live under res/. Maps live under map/.

0 views
Back to Blog

Related posts

Read more »

Chaosnet (1981)

1 Introduction ¶Introduction Chaosnet is a local network, that is, a system for communication among a group of computers located within one or two kilometers o...

Rome Fell and Nobody Noticed

When I first began learning about the Roman Empire in middle school, I was most interested in what everyone else seems to be interested in — the time of Caesar...