Download "user manual"

Transcript
One of the most exciting things about computers is the
ics effects they can display on your TV screen. Most
ready-bought games programs allow you to control what's
happening on the screen, whether It's movmg a spaceshIp to
aVOId ailen attack or steermg a racing car around a
dangerous Grand Prix track The programs that produce
these effects are very complicated, but you can use sImple
graphics commands to create an mteresting and satisfying
computer game of your own
The program given m this book builds up the Hangman
game. In thIS game, the computer chooses a mystery word
and asks the player to guess what It IS, letter by letter. You
have only ten guesses, and for each wrong guess the
computer builds up a section of the Hangman graphics.
The program is broken down mto a number of logical
stages, so that you can clearly understand what each sectIon
does. Givmg programs a logIcal step-by-step structure not
only makes them easier to write, it also helps other people to
see how they work when they come to use them at a later date,
The first sectIon of the book deals with the mam program
which controls how the game works. A second section
explams the graphics that w1l1 make up the screen display