0% found this document useful (0 votes)
81 views20 pages

BitsboxActivityBook15 05

BitsboxActivityBook15-05

Uploaded by

govandlaw4671
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
81 views20 pages

BitsboxActivityBook15 05

BitsboxActivityBook15-05

Uploaded by

govandlaw4671
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 20
22 OUTLANDISH APPS TO CODE . Baa Mc CNac ie ed You’ve come to the right place! Ree ee eee es ote reenter cay eens PTAC TEI | Waabdeepediiha edd etc) See eee te tect Ones ea tela eer + Clesccec eed Din % DU eT oo) Bake i ee ee ee es 7 a Pe eee eee cee eer eas OCU ERC Ree Ce e : ee ear ecu ee Inthe Grownup Guide, you' VCR UIMVZe1 00 Lg Nm N= mi elleire 0000 ee re tl Maybe you'l see Earth from outer space! ‘Can you change it to a different planet you'd like to visit? ©GB00 wiv will you be? Start by typing in thiseode: Draw with a touch! Remember—anything is possible. ‘change line 2 to point at your favorite citer, Peeters ceca rein oer En ang Can't decide what's for dinner? Gagh is disgusting [unless you're a Klingon, Let the replicator randomly eaten ae eee select a delicious meal ‘on sn inte randont HAL ANIMATOR ‘Tap the screen to make Hal dance {Bust a move until he biows a circu. 2 hat = stonp(*hat!) poses = (1 osesti) poses] poses(] nat surprised hal wave? “hal party’ tea function t9p() ( hal schange(poses{41) s 248 Gs poses.tength) (4 = 1) @ Teach Hal some new moves. Src ach pot aernt stamping the aay Eaano# these amps pests} = ha jap" poses} = wa sere e472 Trouble with Tribbles ‘Thote pesky tribbles are filing up the cargo hold, ‘ap them fast to make them pop! FUL pk) function Yoop() { randon( 85) y= fandea(099) Size = randon(s9,300) een = stanp("tribble’ x,y size € Loops locp forever and ever. Every net dom Fede orardoratzed,randorty pestionad tibbeto the sccen Timer Create your own eaa timer. ‘Or doomsday clock It depends on your outlook — seconds = prompt(*How nany seconds?" 1) function 1oon() 4 4€ (seconds > 9) words change stund( alert’ 10052) @ It all depends... on line 5. BOOG ATHER'S PY sss Father's Day isin June! card = stamp("envelepe2 1078) rotate(90) thing = stanp(noxseat 60) ressage = text("Tap to open 15¢,159,55) function t6p0) { ‘hingechange( "hal ‘hing danes() message, chnge('You are a great dad!") 9 Grrgeisin te ic ’ Linea uses sehange command to Vist bitstox.com/howtoshare to learn how to eral this app! cere eee function star = stan! star.speed = ra function Loop) repest(create Find! function tap() ( hud.nove (x,y, - “ol Ro ere ace ou Peer roca toad rete Cn asec Cer era Se eT era nswidth + 5) ces typing inthis section of code if you like. eravity(puller) this == puller) { return } t = eistance(this, puller) = uller.width + puller.width + 7] (dist * dist) vx + (puller.x ~ thi + (putler.y ~ thi body.ybody. ). forEach(gravity bod (physics) AIDAN: SELF-DRIVING CARS Ja o 2 (=) os qa a = So > ki wn E i rs Pa So 2 Ba co a fe = PMAST <= NCOUNTIF ATTORE PHERO DRIVER Figs") ace = tanp("jayetick toee!,12,500) Stick = star Joystick’ 12899) portal, poreal2 pores portale] an sphtra318) Stare = wer Oste() function placename) { stanane rane) randan) : ‘age-fortacn(plos) function droe() { ‘tick mve(ssy) > function untaueh() ‘ce move(bareeb3e9.94509) , Drive your own Sphero” Hit the flags in order to win! fuetion collie) ( alliston = sphero.nies(flags(o)) AF (cotton) eats] 2000) 2 flags.smte0) 44 (flags Length 22 9) { seconds = (new 02te() = start) / 928 feg> You tid fein! ssecande +" eycarde! ‘extn, 9,58, te) sop = ul ) 55 fmetion Leap) rele = (sicher ~ bani) Speed = (taseny = stickay)/> ‘phers.eoeate RIG angle). Sthero.nove(U, seed 2 ealited Addl more targets! stanp(handle, function drag() { slider = red Gf (x > 300) { slider = green } if (> slider = blue slider move (sLider x,y Fill(red.y, green.y, dlue.y } @ Feeling blue? How about ret? Altne colors on your seven we mas rom 2 Tm Tele ZapChat Ree ued Preeer een nett en More people = more fun! mouseburgers what are you eating? hello! NVAToMSMalsia I'm here, too! This is amazing! Cnr What are mouseburgers? on aires I'm out of here. The get eed learn haw to share this app with other people! Cnet ee ee anes ee CSc? Pee een cae n wander (ger mmove(EAST, | ).foreach(wander exhits( stamp jon tap() Coe ee ic fimetion drag ( IBEBOT Cubebot is remarkably flexible, Help him achieve = nirvana by striking all Uy the right poses. © eody. him. Downward Dog 14 — Steer your Claw Snake to grab the drooly alien without hitting anything! HE CLAW #11 gears!) head = stanp( clan’) foad = staep("aliens',7°) speed = 39 function stither() () function collsae() () ‘pe in one section of code ‘at atime, then, function 1oop() { click the green run ood. rotste( RIGHT, ©) bation ats cate ‘ets better with OES very new secon Be youd oat 2 sAither() head aove( UP, speed) cotlide() Mm de function t99() ( head. sin(x,y) 27 direction = Kath.round head. otation/90) +00 25 head. rotate(directien) a 2 end = head 55 function grox() { ‘segnent = stanp( "chain! endxjond.y, 30) body push(segnent) fend = seqnent } srow() function follox(Link) Vink. aiahead) ‘Vinkenove(head.a,head.y) } 46 function stither() { ‘cal = body(body-Length 2] 48 bady-Tength = body. Length = 9 Boay-unshare (rant) 0 fallon(tait) eon") function ©2°1i6e() 4 4f (head. Aits(Food)) { food.more() eon) Spec speed +1 } 4 (head. t$es("ehoin') || offsereen(heod)) oop = ll points = body. length text 'GIME OVER with score of * + points, 150,500) } > Coding onward. See if you can add a sound effect that plays ‘when tre claw eats the alien, yee OT) ee

You might also like