Basic Computer Games is a modern revitalization of the classic “Basic Computer Games” book’s collection of games, ported and expanded into various modern, memory-safe and scripting languages. It includes illustrative code examples of many classic games (e.g. Blackjack, Bowling) in multiple languages, with the goal of making the historical games accessible and educational in safe modern environments. Definitely use the most recent versions and features of the target language, but also try to keep the code samples simple and explainable – the goal is to teach programming in the target language, not necessarily demonstrate the cleverest one-line tricks, or big system "enterprise" coding techniques designed for thousands of lines of code.
Features
- A multilingual code collection: each game translated into multiple modern languages (C#, Python, JavaScript, Ruby, Lua, etc.)
- Memory-safe / scripting language focus (avoiding unsafe languages)
- Well-written, readable code examples suitable for educational use
- Maintains the spirit and structure of original BASIC games (e.g. control flow, logic) while modernizing syntax and paradigms
- Web site display / catalog of games to browse the examples online (codinghorror.github.io)
- Community contributions encouraged to expand language ports and improvements
Follow Basic Computer Games
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Basic Computer Games!