Skip to content
0:00 / 0:00

#cobol#sdl#gamedev

Using COBOL to make a video game!

Context Free

24K subscribers • 25 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

30K views3 years ago1 recommendation

Programming languagesGame developmentRetro games and consolesGame programming

An exploration of writing a 2D video game in COBOL using SDL, detailing memory layout, build commands, and language features.

Code: github.com/contextfreecode/cobol-explore Kenney: kenney.nl Intro Simple example Generated C code Source columns Variables and memory Game code and paragraphs Copybooks Helper C file for SDL access My own generated data files Build commands Game demo Utility subprograms Text formatting Syntax and core language features Game loop event processing Hierarchical field levels, especially level 88 Emulating struct definitions Frame animation with level 88 Takeaways Outro

Why it's here

1 person recommends this

What people say. Shared as an interesting demonstration of using COBOL for modern game development.

u/mttdin r/ProgrammingLanguages • Recommends

Using COBOL to make a video game!