ArticleslgStudy

computer science

BASIC Computer Games

BASIC Computer Games is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand BASIC Computer Games rather than just read about it. In short: BASIC Computer Games is a compilation of type-in computer games in the BASIC programming language collected by David H. Ahl.

BASIC Computer Games — main illustration
BASIC Computer Games — illustration

Key takeaways

  • BASIC Computer Games belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect BASIC Computer Games to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of BASIC Computer Games from memory before moving on to harder problems.

Reference excerpt

BASIC Computer Games is a compilation of type-in computer games in the BASIC programming language collected by David H. Ahl. Some of the games were written or modified by Ahl as well. Among its better-known games are Hamurabi and Super Star Trek. Originally published by DEC in 1973 as 101 BASIC Computer Games, the book was so popular that it had two more printing runs, the last in March 1975. The programs in these books were mostly written in the BASIC dialect found on Digital's minicomputers, although some could not be converted and appeared in different dialects like Dartmouth BASIC. In 1974, Ahl left DEC. He purchased the rights to the book and republished it under the new name. With the release of the first microcomputers, and Microsoft BASIC soon after, the collection added several new games, removed some, and those that remained from the original were ported to this dialect. By the early 1980s, with tens of millions of home computers in the market, it had become the first computer book to sell a million copies.

History Around 1971, Ahl ported two popular early mainframe games from DEC's FOCAL language to BASIC: Hamurabi and Lunar Lander. He published the BASIC versions in DEC's educational newsletter, EDU, which he edited. Their popularity was such that he called for more submissions for future editions of the newsletter, and quickly gathered many, with a considerable group of them coming from high school students. The wide availability of BASIC on various platforms, notably the Data General Nova and HP 2100 series, led to considerable porting effort to and from the DEC platform. In July 1973, Ahl published a selection of these submissions as 101 BASIC Computer Games, which quickly sold out. This led to two further printing runs in April 1974 and March 1975. Ahl later noted that number "was far more books than there were computers around, so people were buying three, four, five of them for each computer." In 1974, Ahl left DEC to start Creative Computing magazine. The next year saw the launch of the first microcomputers and 101 became quite popular with the owners of these machines. The release of the "1977 Trinity" machines (Apple II, Commodore PET, and TRS-80) was soon followed by a great many new competing microcomputer platforms featuring BASIC, along with the userbase to go with them, and demand for the book led to a second edition in 1978. This version removed non-DEC games, replaced them with some of the many submissions he had over the years, and ported those that remained into MS-BASIC format. By 1979, it had sold over 1 million copies, the first computer book to do so. Sales remained strong for years, and spawned similar collections in More Basic Computer Games (1979), and Big Computer Games (1984) and Basic Computer Adventures (1984), with translations into six languages.

Games Chomp Civil War Hexapawn Hammurabi (based on The Sumer Game by Doug Dyment) Nim Super Star Trek

Reception The first version, 101 went into a second printing and eventually sold 10,000 copies. Ahl later noted that “was far more books than there were computers around, so people were buying three, four, five of them for each computer.” The second version, BASIC, was re-printed many times and was the first computer book to sell a million copies. Harry McCracken called it "The single most influential book of the BASIC era".

Legacy Using Vintage Basic, the games can be run on Microsoft Windows, macOS, and Linux. The source code for the book is provided (with permission of David H Ahl) on the Vintage Basic's Basic Computer Games page. A Microsoft Windows machine with the GW-BASIC interpreter can also run the games. The games are also compilable and playable with the Microsoft Small Basic development environment for children. Computer Science for Kids has released a 2010 Small Basic Edition of the classic Basic Computer Games book called Basic Computer Games: Small Basic Edition. A project started on GitHub in 2021 to port the games in these books to modern languages. Program listings from the second ("microcomputer") edition, and from More Basic Computer Games, can be run by the open-source Brassica interpreter in R or Python. With the BASIC to Javascript compiler, the original 101 games can be run in a web browser.

References

External links

Ahl, David H., ed. (July 1973). 101 BASIC Computer Games. Maynard, Massachusetts: Digital Equipment Corporation. OCLC 220506154. Retrieved 21 June 2026.—No general credit for Ahl as editor (or to any individual for anything) in the book itself. (He does appear in the credits for individual games.) This edition does not appear to have any ISBN or LCCN. The link is to a scan of the March 1975 third printing, which has a different cover and an updated copyright notice The original edition. All programs are written in one of a variety of pre-microcomputer BASICs. All program titles are SIXBIT-compatible. By 1975 two supplements had been published (both crediting Ahl as author):

Ahl, David H. (November 1973). Understanding Mathematics And Logic Using BASIC Computer Games. Maynard, Massachusetts: Digital Equipment Corporation. OCLC 425122025. Retrieved 21 June 2026.A teacher's guide and resource book for 101 BASIC Computer Games Ahl, David H. (January 1974). Getting Started In Classroom Computing. Maynard, Massachusetts: Digital Equipment Corporation. Retrieved 21 June 2026.An introduction to computing for children, guiding the reader through interactions with a number of BASIC programs, most from 101 BASIC Computer Games

One general revision of 101 BASIC Computer Games was published:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with BASIC Computer Games

Start with the simplest possible case. Write down what BASIC Computer Games claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to BASIC Computer Games before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about BASIC Computer Games ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of BASIC Computer Games

In research
BASIC Computer Games appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses BASIC Computer Games in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
BASIC Computer Games is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1973 non-fiction books, BASIC programming language family, Books about video games, so understanding it makes those chapters shorter.
In everyday life
Look for BASIC Computer Games outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “BASIC Computer Games” →

How to study BASIC Computer Games in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what BASIC Computer Games means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain BASIC Computer Games out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is BASIC Computer Games in simple terms?

BASIC Computer Games is a compilation of type-in computer games in the BASIC programming language collected by David H. Ahl.

Why does BASIC Computer Games matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study BASIC Computer Games?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on BASIC Computer Games.

Tags

  • 1973 non-fiction books
  • BASIC programming language family
  • Books about video games
  • Open-source video games
  • Public-domain software with source code
  • Software using the Unlicense
  • Source code

Keep exploring