Sinclair ZX80

Lunar Lander

You are the Command Pilot of the Lunar Lander SYNC. You are now in the final stages of your descent and you must make your landing before your fuel runs out. You select the thrust settings from your keyboard control system by pressing a key from 1 to 10. The computer does not wait for

Lunar Lander Read More »

Linear Regression

Computes the linear relationship between two sets of variables, expressed as the linear regression equation, and calculates the coefficient of determination, an indicator of the strength of the relationship. Given a set of two variables labelled X and Y, the program will yield an equation describing Y as a function of X.

Linear Regression Read More »

Tioga Toads

In the following program, three of these toads hop across the screen and announce their order of arrival at the finish line. When all of the toads have finished, the race results are printed on a scoreboard making lavish use of inverse characters.

Tioga Toads Read More »

Dice and Train

Dice strictly speaking is not a game. By simulating the throw of a pair of dice, the computer calculates the distribution of the number of throws entered according to the number of spots the dice show. Be prepared for a wait if you enter a number like 5000. Train likewise is not exactly a game,

Dice and Train Read More »

Scroll to Top