• Aucun résultat trouvé

The computer will pick a word and tell you how many letters it r^

Dans le document Publishing is (Page 62-67)

contains. You must guess the word by selecting a letter at a time. If r*) you pick more than 11 incorrect letters, the spelling bee will

disappear. ^

To begin play, choose a skill level as listed below: r^

1 = Beginner l—s

2 = Intermediate

3 = Advanced O

Press the appropriate number and the game begins. A line of p blank spaces appears on the screen. Each blank indicates a letter _ in the word. You should type a letter you think may be in the

word. I—)

When you type a letter, one of two things will happen. If the _ letter belongs in the word, it will appear in the right space. If it

does not belong in the word, the bee will buzz, the screen will i—\

temporarily go black, and the letter will appear on the bottom of the screen. Each time you make an incorrect guess, a little bit of

the spelling bee will disappear. If you guess 11 incorrect letters, p the correct word will appear. But the spelling bee will be gone —

until the next round.

Scoring ^

No point score is given in Spelling Bee. Either the correct word is O

44 ci

,, puter will ask if you want to play again. If you indicate you do not want to play again, the computer will tell you how many words LJ were guessed correctly. Then the computer will tell you how

many words you missed.

o Spelling Bee

Remember, do not type the checksum number at the end of each line. For example, do

**-J not type ":rem 123." Please read the article about the 'Automatic Proofreader" in Appendix E.

^ 1 REM SPELLING BEE :rem 63

LJ 100 NW%=40:VC»53248:MC=54272 :rem 29

105 POKEVC+32,15:POKEVC+33,l:PRINTCHR$(147):rem 37 LJ 106 FORX=54272TO54296:POKEX,0:NEXTX :rem 178 110 DIM NT%(11),WT$(NW%-1),WI$(19) :rem 5

^ 120 S1=((PEEK(53272)AND240)/16)*1024:S2=55296

. , :rem 102

^ 130 FORX=0TO11:READZ:NT%(X)=Z:NEXTX :rem 7 LJ 140 PRINTm{BLK}{D0WN}{RVS}{14 SPACES}SPELLING BEE

{14 SPACES} {OFF}11; :rem 16

LJ 150 PRINT"{2 DOWN}THE COMPUTER WILL SELECT A WORD

{SPACE}AND SHOW"; :rem 157

*—' 160 PRINT"YOU THE NUMBER OF LETTERS IT CONTAINS."

:rem 241

W 170 PRINT"{2 DOWN}YOU MUST GUESS THE WORD BY SELEC

LJ TING ONELETTER AT A TIME." :rem 147 180 PRINT"{2 DOWN}IF YOU PICK MORE THAN 11 INCORRE

LJ CT" :rem 168

190 PRINT"LETTERS, THE SPELLING BEE WILL DISAPPEAR LJ AND YOU WILL LOSE THAT ROUND." :rem 184 j 200 GOSUB2500:PRINT"{2 DOWN}{8 SPACES}(PRESS ANY K

^ EY TO START)" :rem 230

;> 210 GETX$:IFX$=""THEN210 :rem 119 220 PRINTCHR$(147);"{3 DOWN}{2 SPACES}ENTER SKILL

LJ {SPACE}LEVEL:" :rem 112

230 PRINT"{3 DOWN}{4 SPACES}{RVS}l{OFF} BEGINNER":

LJ PRINT"{3 DOWN}{4 SPACES}{RVS}2{OFF} INTERMEDIA

TE" :rem 71

LJ 240 PRINT"{3 DOWN}{4 SPACES}{RVS}3{OFF} ADVANCED"

v; :rem 167

250 GETP$:IFP$=""THEN250 :rem 111 LJ 260 IFP$<"1"ORP$>"3"THEN250 :rem 220 270 X=(VAL(P$)-1)*NW%:IFX=0THEN290 :rem 209

LJ 280 FORY=1TOX:READX$:NEXTY :rem 231

290 FORX=1TONW%:READX$:WT$(X-l)=X$:NEXTX:WU=0

^J :rem 116

L . 300 WU=WU+1 :rem 132

^^ 310 X=INT(RND(1)*NW%):WO$=WT$(X):IFWO$="$"THEN310

^j :rem 115

LJ 45

u

320 WT$(X)="$":LW%=LEN(WO$) :rem 235 ^

330 FORX=0TOLW%-1 :rem 11 _

340 WI$(X)=MID$(WO$,X+1,1):NEXTX :rem 104 r ]

350 LC%=0:OF%=921:BC%=0:GOSUB1000:LW%=LW%-1 ^ :rem 183

400 GET X$:IFX$=MIITHEN400 :rem 121 D

410 X=ASC(X$):IFX<65ORX>90THEN400 :rem 249

500 HI=0:FORY=0TOLW%:IFWI$(Y)<>X$THEN530 :rem 217 (~) 510 HI=l:WI$(Y) = "$ll:POKESl+720+UL+(Y*2),X-64

:rem 171 ~

520 LC%=LC%+1 :rem 152 _

530 NEXTY:IFHI=1THEN560 :rem 194

540 GOSUB3000:BC%=BC%+1 :rem 3 ^

550 IFBC%>10THENGOSUB2000:LO%=LO%+1:FORX=1TO2000:N

EXTX:GOTO700 :rem 93 O

560 IFLC%<=LW%THEN400 :rem 226

570 GOSUB4000:WI%=WI%+1:GOTO700 :rem 71 <~\

700 IFWU=NW%THENPRINT"{CLR}{RED}{2 DOWN}":GOTO750 _.

:rem 185 f '

710 PRINTCHR$(147);"{BLK}{3 DOWN}{12 SPACES}{RVS}A p^

NOTHER WORD ?{dFF}" :rem 133

715 PRINT"{2 DOWN}{13 SPACES}ENTER {RVS}Y{OFF} OR O

{SPACE} {RVS}N{OFF}11 :rem 158

720 GETX$:IFX$=MIITHEN720 :rem 131 O

730 IFX$=IIY"THEN300 :rem 65

740 IFX$o"NllTHEN720 :rem 122 r^

750 PRINT"{3 DOWN}{7 SPACES}* CORRECT =";WI% ^ :rem 18

760 PRINT"{2 DOWN}{7 SPACES}* MISSED{2 SPACES}=";L O

0% :rem 176

770 GOSUB2500:FORX=1TO1000:NEXTX :rem 1 O

780 PRINTCHR$(147) :rem 26

790 END :rem 119 ~

1000 POKEVC+32#6:POKEVC+33#12 irem 157

1005 PRINTCHR$(147);"{BLK}{DOWN}{8 SPACES}S PEL

{SPACE}L I N G{4 SPACESjB E E{2 DOWN}" f^

:rem 173

1010 PRINTSPC(20);"{BLK}g+3g-i" :rem 121 m 1020 PRINTSPC(20);"g2 +3" :rem 180

1030 PRINTSPC(16);"ME@3{2 SPACES}g2 +3":rem 43 ^

1040 PRINTSPC(18);"M E+3B-igMi" :rem 103

r-1050 PRINTSPC(18);"TRVS}£{YEL} {BLK} {YEL}i*i f ]

{0FF}{BLK}N N" :rem 150 ^

1060 PRINTSPC(16);"C{RVS}{YEL} {BLK} {YEL} {BLK}

{YEL} {BLK} {0FF}Q" :rem 51 O

1070 PRINTSPC(18);"i*§TRVS}{YEL} {BLK} {OFF}

{YEL}£{BLK}M M" :rem 150 O

1080 PRINTSPC(18T;"N E+3E-3BM3" :rem 108

1090 PRINTSPC(16);"NgT§{2 SPACES}g2 +3" :rem 49 "

1100 PRINTSPC(20);"?2 +|" :rem 179 ^

46 n

D

2

PRINTSPC(20);"i+3B-3" :rem 234 PRINT" {5 DOWNHBLK}

Trim 183 PRINT" ENTER A LETTER:" :rem 97 UL=INT((40~((LW%*2)-l))/2) :rem 73

X=(LW%-1)*2 :rem 53

FORY=0TOXSTEP2 :rem 223

POKES1+720+UL+Y,121:POKES2+720+UL+Y,1:NEXTY :rem 130

RETURN :rem 171

REM **** WORD MISSED / SHOW IT :rem 92 FORX=0TOLW%:IFWI$(X)="$"THEN2020 : rem 172 Y=ASC(WI$(X)):POKESl+720+UL+(X*2),Y-64

:rem 183

NEXTX :rem 91

POKEMC+0,0:POKEMC+1,1:POKEMC+5,15:POKEMC+6,15 :rem 196 POKEMC+24,15:FORY=80TO10STEP-5 :rem 105 POKEMC+1,Y:POKEMC+4,17:FORX=1TO50:NEXTX

:rem 19 POKEMC+4,16:NEXTY:POKEMC+24,0 :rem 49

RETURN :rem 169

REM *** PLAY A LITTLE SONG :rem 165 POKEMC+5,79:POKEMC+6,129:POKEMC+24,15:rem 193 FORX=0TO11:Y=NT%(X):Z=INT(Y/256) :rem 236 Y=Y-(Z*256):POKEMC+0,Y:POKEMC+1,Z :rem 12 POKEMC+4,17:FORY=1TO100:NEXTY :rem 107 POKEMC+4,16:FORY=1TO40:NEXTY :rem 62

NEXTX:POKEMC+24,0 :rem 74

RETURN :rem 174

REM *** BLANK OUT PART OF THE BEE :rem 254 PRINT"{HOME}{2 DOWN}":FORY=0TOBC%:PRINT" ":NE

XTY :rem 220

PRINT"{32 SPACES}" :rem 153 POKEVC+33,0:POKEMC+0,49:POKEMC+1,10 :rem 72 POKEMC+5,15:POKEMC+6,15:POKEMC+24,15 :rem 126 POKEMC+4,17:FORY=1TO250:NEXTY:POKEMC+4,16

:rem 87 POKEMC+24,0:POKEVC+33,12 :rem 149 POKES1+OF%,X-64:P0KES2+0F%,1:0F%=0F%+2

:rem 243

RETURN :rem 169

REM *** WORD GUESSED - FLASH SCREEN :rem 205 POKEMC+0,0:POKEMC+5,15:POKEMC+6,15:POKEMC+1,0

:Y=30:POKEMC+24,15 :rem 18

FORX=2TO12:POKEVC+33,X :rem 145

POKEMC+1,Y:POKEMC+4,17:FORZ=1TO100:NEXTZ :rem 67 POKEMC+4,16:Y=Y+4:NEXTX:POKEMC+24,0 :rem 184 47

Level

RETURN :rem 169

DATA5728, 5728,7217,8583,7217,5728,6430,8101, 5

728,6430,5728,5728 :rem 165

DATABOY,GIRL,FIRST,HER,WERE :rem 66 DATATAKE,NAME,DAY,ASK,SUN :rem 138 DATAWITH,WHEN,THEM,AND,WENT :rem 63 DATASTOP,CAN,LOOK,READ,BOOK :rem 39 DATACAN, BEAT, TIME, RIDE, ADD : rem 158 DATABALL,HARD,BIG,MAKE,CAME :rem 213 DATAGAME,GREEN, GOOD, SAY,MEAN : rem 88 DATATREE,HAD,TOP,MAN,GAVE :rem 134 DATAAFTERNOON,BECAUSE,THIRD,ALWAYS,ANIMAL

:rem 51 DATABASEBALL,ALIKE,CLOCK,BROTHER,CATCH:rem 19 DATAMORNING,SEVEN,FRIEND,GROUND,HOUSE :rem 57 DATALEARN,LARGE,LUNCH,PURPLE,HORSE :rem 68 DATALAST,BEST,SCHOOL,LITTLE,UNDER :rem 11 DATAWATER,LETTER,AROUND,DRINK,THANK :rem 160 DATAPRINT,AGAIN,ABOVE,SISTER,LIGHT :rem 67 DATACOLOR,AIRPLANE,ABOUT,EARTH,ROUND :rem 218 DATASHELF,DINNER,WINDOW,MACHINE,FINGERNAIL

:rem 112 DATANEIGHBOR,BALLOON,DIRECTION,SANDWICH,PRESI

DENT :rem 136

DATANOTEBOOK,ENGINE,ASLEEP,LANGUAGE,VEGETABLE

NCE srem 74

DATAGARBAGE, ALARM, FARMER, SNEEZE, GENERAL

:rem 115

n

n

n

n n n

r*j Skill area: Mathematics Level: 2,3,4

r~\ Equipment required: None Modification: Yes

A Monthly Income

r"">

Your parents have decided to give you an allowance of $10 each

I—I month. Ten dollars sounded like a fortune at first, but the world is full of exciting things to buy. If you spend wisely, your allowance n will be increased. What does wisely mean? How can your parents fm* know whether buying a hamster or going to the movies is impor

tant to you? You'll have to spend your money the best way you r-) can. If you spend your money unwisely, however, they may

de-^ duct a dollar from your monthly income.

"Spend Your Allowance" is full of situations that suddenly O pop up. You may have to buy a birthday present, or you may be

~ able to pick up some money doing chores around the house.

When you get any extra money, keep it if you wish, or spend it if O there's something you'd like to buy. It's your money.

^ How to Play

r^ A game consists of 12 months, with four spending decisions each month. The computer will ask you to buy one of three items.

^ Sometimes you'll see two or three items you'd like to have. Other

r**) times, nothing will look very appealing. In any case, choose the item you'd most like to purchase. Indicate your choice by pressing

Dans le document Publishing is (Page 62-67)