GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Einshous/basic-computer-games: An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common programming languages

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

580 Commits
580 Commits

Folders and files

NameName
Last commit message
Last commit date
01 Acey Ducey
01 Acey Ducey
 
 
02 Amazing
02 Amazing
 
 
03 Animal
03 Animal
 
 
04 Awari
04 Awari
 
 
05 Bagels
05 Bagels
 
 
06 Banner
06 Banner
 
 
07 Basketball
07 Basketball
 
 
08 Batnum
08 Batnum
 
 
09 Battle
09 Battle
 
 
10 Blackjack
10 Blackjack
 
 
11 Bombardment
11 Bombardment
 
 
12 Bombs Away
12 Bombs Away
 
 
13 Bounce
13 Bounce
 
 
14 Bowling
14 Bowling
 
 
15 Boxing
15 Boxing
 
 
16 Bug
16 Bug
 
 
17 Bullfight
17 Bullfight
 
 
18 Bullseye
18 Bullseye
 
 
19 Bunny
19 Bunny
 
 
20 Buzzword
20 Buzzword
 
 
21 Calendar
21 Calendar
 
 
22 Change
22 Change
 
 
23 Checkers
23 Checkers
 
 
24 Chemist
24 Chemist
 
 
25 Chief
25 Chief
 
 
26 Chomp
26 Chomp
 
 
27 Civil War
27 Civil War
 
 
28 Combat
28 Combat
 
 
29 Craps
29 Craps
 
 
30 Cube
30 Cube
 
 
31 Depth Charge
31 Depth Charge
 
 
32 Diamond
32 Diamond
 
 
33 Dice
33 Dice
 
 
34 Digits
34 Digits
 
 
35 Even Wins
35 Even Wins
 
 
36 Flip Flop
36 Flip Flop
 
 
37 Football
37 Football
 
 
38 Fur Trader
38 Fur Trader
 
 
39 Golf
39 Golf
 
 
40 Gomoko
40 Gomoko
 
 
41 Guess
41 Guess
 
 
42 Gunner
42 Gunner
 
 
43 Hammurabi
43 Hammurabi
 
 
44 Hangman
44 Hangman
 
 
45 Hello
45 Hello
 
 
46 Hexapawn
46 Hexapawn
 
 
47 Hi-Lo
47 Hi-Lo
 
 
48 High IQ
48 High IQ
 
 
49 Hockey
49 Hockey
 
 
50 Horserace
50 Horserace
 
 
51 Hurkle
51 Hurkle
 
 
52 Kinema
52 Kinema
 
 
53 King
53 King
 
 
54 Letter
54 Letter
 
 
55 Life
55 Life
 
 
56 Life for Two
56 Life for Two
 
 
57 Literature Quiz
57 Literature Quiz
 
 
58 Love
58 Love
 
 
59 Lunar LEM Rocket
59 Lunar LEM Rocket
 
 
60 Mastermind
60 Mastermind
 
 
61 Math Dice
61 Math Dice
 
 
62 Mugwump
62 Mugwump
 
 
63 Name
63 Name
 
 
64 Nicomachus
64 Nicomachus
 
 
65 Nim
65 Nim
 
 
66 Number
66 Number
 
 
67 One Check
67 One Check
 
 
68 Orbit
68 Orbit
 
 
69 Pizza
69 Pizza
 
 
70 Poetry
70 Poetry
 
 
71 Poker
71 Poker
 
 
72 Queen
72 Queen
 
 
73 Reverse
73 Reverse
 
 
74 Rock Scissors Paper
74 Rock Scissors Paper
 
 
75 Roulette
75 Roulette
 
 
76 Russian Roulette
76 Russian Roulette
 
 
77 Salvo
77 Salvo
 
 
78 Sine Wave
78 Sine Wave
 
 
79 Slalom
79 Slalom
 
 
80 Slots
80 Slots
 
 
81 Splat
81 Splat
 
 
82 Stars
82 Stars
 
 
83 Stock Market
83 Stock Market
 
 
84 Super Star Trek
84 Super Star Trek
 
 
85 Synonym
85 Synonym
 
 
86 Target
86 Target
 
 
87 3-D Plot
87 3-D Plot
 
 
88 3-D Tic-Tac-Toe
88 3-D Tic-Tac-Toe
 
 
89 Tic-Tac-Toe
89 Tic-Tac-Toe
 
 
90 Tower
90 Tower
 
 
91 Train
91 Train
 
 
92 Trap
92 Trap
 
 
93 23 Matches
93 23 Matches
 
 
94 War
94 War
 
 
95 Weekday
95 Weekday
 
 
96 Word
96 Word
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

What are we doing?

We're updating the first million selling computer book, BASIC Computer Games, for 2021!

[Read book] (https://annarchive.com/files/Basic_Computer_Games_Microcomputer_Edition.pdf)

Where can we discuss it?

Please see the discussion here for a worklog and conversation around this project.

Project structure

I have moved all the original BASIC source code into a folder for each project in the original book (first volume). Note that Lyle Kopnicky has generously normalized all the code (thanks Lyle!) to run against Vintage Basic circa 2009:

I've included all the games here for your tinkering pleasure. I've tested and tweaked each one of them to make sure they'll run with Vintage BASIC, though you may see a few oddities. That's part of the fun of playing with BASIC: it never works quite the same on two machines. The games will play better if you keep CAPS LOCK on, as they were designed to be used with capital-letter input.

Each project has subfolders corresponding to the languages we'd like to see the games ported to. This is based on the February 2021 TIOBE index of top languages that are memory safe and general purpose scripting language per this post:

  • Java
  • Python
  • C#
  • VB.NET
  • JavaScript
  • Ruby
  • Delphi / Object Pascal
  • Perl

Project goals

Feel free to begin converting these classic games into the above list of modern, memory safe languages. But first, a few guidelines:

  • These are very old games. They date from the mid-70s so they're not exactly examples of what kids (or anyone, really?) would be playing these days. Consider them more like classic programming exercises to teach programming. We're paying it forward by converting them into modern languages, so the next generation can learn from the programs in this classic book -- and compare implementations across common modern languages.

  • Stay true to the original program. These are mostly unsophisticated, simple command line / console games, so we should strive to replicate the command line / console output and behavior illustrated in the original book. See the README in the project folder for links to the original scanned source input and output. Avoid the impulse to add features; keep it simple.

  • Please DO update for modern coding conventions. Support uppercase and lowercase. Use structured programming. Use subroutines. Try to be an example of good, modern coding practices!

  • Use lots of comments to explain what is going on. Comment liberally! If there were clever tricks in the original code, decompose those tricks into simpler (even if more verbose) code, and use comments to explain what's happening and why.

  • Don't get too fancy. 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.

Have fun!

Thank you for taking part in this project to update a classic programming book -- one of the most influential programming books in computing history -- for 2021!

About

An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common programming languages

Resources

Readme
Unlicense
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.