11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Add these lines to the above program:60 INPUT'WHAT COLOR LETTERS ";CL64 POKE 646.CLRun it.CAREFUL! If you choose the same color for the screen and letters, you cannot see theprinting! Don't give up. Just press CTRL and a color key anyway, and the printing willappear again in some color or another!JUMPING NAME10 REM JUMPING NAME15 PRINT "clrdndndn"16 POKE 53281,0 :REM BLACK SCREEN20 CB=646 :REM CHAR. COLOR BOX30INPUT"NAME";N$32 INPUT "HOW MANY LETTERS IN IT";N39 PRINT "clr";40 FOR 1=1 TO RND(8)*24 :REM MOVE DOWN45PRINT"dn";:NEXTI50 FOR 1=1 TO RND(8J*39-N :REM MOVE ACROSS55 PRINT"rt";:NEXTI57 NC=INT(RND{8]*8) :REM RANDOM COLOR58 IFNC=0THEN57 :REM NOT BLACK60POKECB.NC :REMPUTINBOX70 PRINT N$; :REM PRINT NAME80 FOR T=1 TO <strong>1000</strong>:NEXT T90 GOTO 39What happens:Line 39 clears the screen and homes the cursor.Lines 40 and 45 run the cursor down the screen a random number of lines.Lines 50 and 55 run the cursor across the screen a random number of spaces.Line 57 picks a color for printing letters.Line 58 picks another color if the first choice was "black."We do not want black letters on a black screen.Line 60 puts the color choice in box 646. This tells the computer whatcolor to print your name.Line 70 prints your name in the new color.Line 90 says: "Go do it over again."123

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!