Hacker GitHub

← All repos

coding-horror/basic-computer-games

View on GitHub ↗ ★ 11,092 C#

An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common MEMORY SAFE, SCRIPTING programming languages. See https://coding-horror.github.io/basic-computer-games/

14 mentions on Hacker News by 11 people: 3 stories, 11 comments · first 2021-02-19 · latest 2026-06-21

Mentions per year 14 mentions · busiest year 2022 (5)
20082026
  1. …short order of many of the conversions with very little tokens however that was never the point. https://github.com/coding-horror/basic-computer-games
    comment by firesteelrain · 2026-06-21 · in David Ahl's Basic Computer Games Ported to C
  2. …to rewrite the games from the book Basic computer games in modern languages. The word game is here: https://github.com/coding-horror/basic-computer-games/tree/m...
  3. …lot too and people have converted the basic games into multiple languages over the last few years. https://github.com/coding-horror/basic-computer-games
  4. …original BASIC games in modern programming languages. It has been going on for a few years now. https://github.com/coding-horror/basic-computer-games anyone can contribute and issue a pull request for the targeted language
    comment by firesteelrain · 2025-04-23 · in 101 BASIC Computer Games
  5. …ended up writing about the deduction logic for solving mastermind because it seemed non-intuitive. https://github.com/coding-horror/basic-computer-games/blob/m...
  6. This is exactly that. % git clone https://github.com/coding-horror/basic-computer-games.git Cloning into 'basic-computer-games'... remote: Enumerating objects: 23002, done. remote: Counting objects: 100% (1191/1191), done. remote:…
  7. Your list omits BASIC, much of which looked like this: https://github.com/coding-horror/basic-computer-games/blob/m...
  8. …and likely more. Another is a translation of BASIC code to Rust, using break as a form of goto. https://github.com/coding-horror/basic-computer-games/blob/e... . The Python version at https://github.com/coding-horror/basic-computer-games/bl…
    comment by eesmith · 2022-09-04 · in Python multi-level break and continue
  9. …into modern languages. It includes Hammurabi, if you'd like to experience it on a modern system: https://github.com/coding-horror/basic-computer-games/tree/m... This was previously discussed in https://news.ycombinator.com/item?id=26188324
    comment by El_RIDO · 2022-02-03 · in The Sumerian Game
  10. …Machine 7 Billion Humans Also my kids and I whiteboarded out and then coded a few of the games from https://github.com/coding-horror/basic-computer-games It was fun acting as the game designer who wanted this feature or that!
  11. …but keep the complexity extremely low, like 70's BASIC was intended. EDIT: Just looked at https://github.com/coding-horror/basic-computer-games/blob/m... , it actually looks like a pretty good blend of original but with mild improvements.