FPS.cob: A first person shooter in COBOL

Hacker News Top Products

Summary

A first-person shooter game implemented in COBOL, supporting Wolf3D-style and DOOM-like levels.

No content available
Original Article
View Cached Full Text

Cached at: 06/11/26, 04:36 PM

icitry/FPS.cob

Source: https://github.com/icitry/FPS.cob

FPS.cob

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/.

Similar Articles

Making Graphics Like it's 1993

Hacker News Top

A developer details building Catlantean 3D, a first-person shooter using 1993-era graphics techniques (256 colors, 320x240 resolution, hand-crafted assets, no AI) with a planned Steam release, focusing on palette rendering and asset creation.

Simulated Evolution on the PICO-8

Hacker News Top

An article about simulating evolutionary processes on the PICO-8 fantasy console, likely demonstrating a creative coding project or educational tool.