Scoopfeeds — Intelligent news, curated.
computer-science

David Ahl's Basic Computer Games Ported to C

Hacker News · Jun 21, 2026, 12:11 PM

Key takeaways

  • These haven't been tested, validated, debugged, or verified!
  • This repository contains a 'C' port of the classic GW-BASIC games from David Ahl's "BASIC Computer Games" and "More BASIC Computer Games" originally published by Creative Computing.
  • The original games were written in GW-BASIC and have been ported over to 'C', ensuring they compile and run on a variety of platforms including Linux (GCC), Windows (MSVC), and FreeDOS (Open Watcom).

These haven't been tested, validated, debugged, or verified! Use at your own risk: Yes, I used Google Anti-Gravity to convert the programs from GW-BASIC to 'C', but what a better learning tool than to debug a program?

This repository contains a 'C' port of the classic GW-BASIC games from David Ahl's "BASIC Computer Games" and "More BASIC Computer Games" originally published by Creative Computing.

The original games were written in GW-BASIC and have been ported over to 'C', ensuring they compile and run on a variety of platforms including Linux (GCC), Windows (MSVC), and FreeDOS (Open Watcom).

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop