Run_Issue_01_1984_Jan

Page 33

makes sure that Ihe ship doesn't leave the left side of the screen. Then PO is

Listing I continued, b90

IP HOSPACETHKNGOSUB770

700

POKE

710 720

POKEN1+22,SPACE P0KEN11+DF,WHITE

Poked with the ship character, 65, and

Nl,ARROW

its previous position (either PO +1 or

730 740 750

IF NKCHAR+22 THEN NUN1-22 POKE Nl+22,SPACE

7G0 770

RETURN H=PEEK(N1):IFH«81

780

FOR

790

G0SUB1020

H2-I

TO

800

P0KE36879.25

810

P0KE36879.104

820

NEXT

830

P0KK36879.104

840

F2-0

PO-1, depending on direction of movement) is Poked with a space,.12. Next, the position of the larger, SH,

F2=0

is incremented by one (the target always THKN

moves from lefl to right), and a reverse

RETURN

space is Poked in its new location. The

50

former position is Poked with a space.

Once

the

fire

button

has

been

pressed, a missile, ARROW, is released

N2

lo position Nl, through approprialc Poking. Now, movement of the joy stick will control NTs value to the left

SIO HITS-HITS+1 860

RETURN

or right. With each "turn," however,

870 880

P0KE79JO.81 POKK 38630,4

Nl decreases by 22 to move it one row

890 PR1NT"ISHFT 900

CLR|"

PRINT"[CTRL 8](SHFT <)](SHFT Q) I SIIFT Qj[SHFT Q][SHFT QKSHFT Q}[ SIIFT Q][SHFT Q][SHKT QlfSHFT Q][SHFT Q

HSHFT QKSHFT

SHFT

Q][SHFT

910 PRINT" 920

C) 11 SIIFT Q j ( SIIFT (J][SHFT Q][SHFT Q][

Q][SHFT

QHSHFT

Q]|SHFT

Q ]"

[CTRL 2]GAME OVER"

PHINT"[CTRL8][SHFT Q][SHFT Q][SIIFT Q][SHFT Q][SI1FT Q][SHFT Q][SHFT Q ] I SHFT Q][SHFT Q][SHFT QHSHFT Q] [SIIFT Q] t SIIFT Q][SHFT Q]fSHFT Q][SHFT Q][SHFT Q][S HFT Q][SHFT Q|[SHFT Q][ SIIFT QH SIIFT Q][3CRSR DNS]"

930 PRINT"

HITS:

940 PRINT"[CRSR

DN ]

";HITS

SCORE

higher on the screen. The program periodically Peeks to see what lies in the space next to be oc cupied by the missile.

If it does not

equal a space, then a collision has taken place, and control branches to a routine that causes the explosion and incre ments the score counter, HIT, by one.

When the missile reaches the top of the screen, the player can resume con trol of the ship and repeal the cycle, un

i";HITS

til the target reaches the bottom, and

the game is over. Clfclo 37 on Readei Service card

ir Vic 20™ or Commodore 64™ Computer This exciting, new weather package

allows you to learn, monitor, and predict the weather using the same equipment as the pros.

Pour Own Weatherman

Learn/Teach Meteorology More than a toy or game,

The new HAWS (Home Auto

HAWS provides the first oppor

matic Weather Station) com bines a quality weather sensor with software to let you track

tunity to use your computer as a

data sampler and data analysis system for meteorology, allow

weather conditions inside or

ing the user to interact witfi incoming data to monitor and forecast weather conditions.

outside your home. HAWS moni tors weather data including dew

point, temperature, humidity,

HAWS includes an instructive

and aimospheric pressure; plots

historical data and graphically

displays weather trends; deter mines the comfort and chill fac

tors to help you dress; HAWS

even forecasts the weather and compares your predictions to the local weatherman's. HAWS uses the same sensor employed by weather services in

60 countries worldwide. The HAWS package costs only

$199.95 and includes the sensor,

cassette or floppy disc program, 15-foot cable with connector for

the computer, and a complete

user's manual. Send loday or call toll free to order your HAWS package

Ordering Information

Send S199.95 in check or money order payable to Vaisala. Inc. Include name, address, telephone num

ber, your computer model (VtC 20 or Commodore 64),

and program preference (tape cassette or floppy disc), Or call toll free to place your order, Major credit cards accepted

Dealer inquiries invited.

1-800-227-3800 ext. haws VIC 20 and Commodore 64 Hro tradema'ks ol Commodore Electronics Lid

L 30 / RUN Magazine January 198-i

software program and a com plete user's manual that teaches meteorological terms and equa tions to allow anyone to quickly grasp weather concepts either at home or in the classroom. Sim ple plug-in components and easy hookup also means you can free up your computer at

any time for other duties. HAWS is a great educational tool for anyone. Order today.

® VAISALA VAISALA INC

2 TOWER OFFICE PARK WOBURN. MA 01B01

SB


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.