See, CityisHarvard's sortofintroductorycomputersciencecourse, andwenowhave a presenceonTwitterandYouTubeandFacebookdoing a livestreamwherewedofromscratchimplementationsofprojectswecover.
Well, yesterdaywecoveredCallieLennox, whichwassortof a completelydifferentsingletogetherwherewekindofgointohackingandcybersecurity.
Butitwassortofnotsequentialnonlinear, thatthat's theword I waslookingfor.
Itwasnonlinearwayofreading a bookandactuallysortofdivingintothenarrativeandhavinganeffectonhowittranspiredultimatelyisveryinteresting.
I usedtoreadtheseas a kid, and I thinkthesearekindoftheactuallysureifthesecamebeforethefirstsortoftextadventureslike, wasitcold?
SoreHQ?
Isthatthenameofthe, um, thegame?
Siri's?
Yeah.
SoZorkisanotherreallyfamousgame.
Siri's and I actuallythink I ownthesegames, but I haven't playedthem.
I havebeenastoundingnumberofgamesthathaven't played, butthesearetextadventuregamesthatyouplayatyourcommandlineorwhatever, and I thinksomeofthemhad a graphicalinterfaceandyouwouldchoosesortofhowyouwanttoactuallyplayoutthegame.
Andifyou'rewatchingthisonFacebookoronYouTube, I wouldrecommendgoingtotwitched, atleastfortoday's episode, becausetheLeightonseeonTwitchislessthanFacebookandYouTubeand I willideallyliketobeabletoreadpeople's responsessothatwecankeeptheflowgoing.
Sodefinitelytuneon a twitch.
TwitchdottvslashCS 50 TVIfyouwanttosuggestoptionsfortoday's chatEastlandandhassomesuggestionsthat I'm probablynotgoingthiopluginbecause I donotknowwhatthatmeans, Mrs.
And I'm justgoingtosayifnameisequaltoMaine, andthenwe'lljustsaymadeLet's have a functioncalledMainDeathMaine, whosegoalinlifeistoprintHello, Twitchorboth.
Hello.
See, Citylightswerenotstreamingexclusivelytotwitch.
Wherewerestreamingto a bunchofserviceisand I'm gonnaopenupmycommand.
Prompt.
I'm gonnaactuallywearingmyrightnow.
I'm inmyhomedirectory.
I'm gonnagointoDevStreamsandthentextadventure.
Think.
Andthenif I goPythonthreeMaindupuy, thiswillindeedoutput.
Hello, CS 50.
Life's not a terriblyinterestingadventuresofar, but I thinkthefirstthingthatweshoulddoisweshoulddecideonthetitleofthegame.
I thinkthiswillbe a nice a wayforustogetsomeinspiration.
Andso I'm gonnachoosepeopleinthechattogivemeonewordat a time.
Thiswillbeinteresting, uh, sortoflikethat.
Choose a sentenceinpieces, werein a startwithchoosethetitleinpieces.
I wantyoutorecommendthefirstwordofthetitleofthistextadventure, andhopefullythere's notenoughlightandseeitwherethisgetstobe a littlebitsluggish, Butwe'llsee.
Andthenoh, IndraReady?
Goodtoseeyouashe's saying, Um, it's a lotofpressure, A lotofpressure.
I likehowyoucankeepupwithvariousconversationsatthesametime.
Wegottokeepwegottokeeptheflowgoing, youknow?
And I'm actuallysuperstokedthatlikesomanypeopleareherechattingandmakingthismakingthis a thing.
Becauseifthiswaslikeoneperson, I thinkyouwouldget a littlebitdryoratleastifnotdry, veryconsistent, becauseyouwouldhave a consistentnarrativesoonepersonwouldn't bebad.
But I thinkhaving a lotofpeopleletsusbring a varietytothetablehereandmakethingsinteresting.
SoexNiallOh, we'regonnagetexile.
Oh, forthethirdsentenceforinshow.
Andthenwecanstarttalkingaboutactuallycreatingthetextadventure, gettinglogic, givingsomeelixirIfthenifstatementsinhere, uh, folksarebranded a python, thiswillbemaybeinterestingoreducational.
Folksalreadyknowpython.
Thismightbe a littlebitsimplistic, butyouknow, thegoalismoretohavefuntodayanddo a littlebitofpython, notMaurThio.
Actually, thisdoeskindoffeellike a deepdreamsDeepdreamstory.
Weshouldchoose a nameforthealienallrightwayshouldprobablyYeah, let's choose a nameforthealien.
Andthisissomethingthatdayninelikestodo a lot.
Um, Daynineis a youtuberin a streamerthatwilldosomethingsimilartothiswhenhechoosesnamesforhissortofcharactersthatheplays.
Sowe'regonnacreate a variablecalledHeroandoneletterat a timewhenyougetoneletterat a timefrompeople, I'm gonnacallonyouoneat a time, sincesofollyonhisbrandnewtothechat.
Sofollowyou.
And I wanttogivemethefirstletterofthe, uh, theherofirstletterofthehero's name.
I didn't knowtherewas a peanutbuttermonster, butifwecouldwrite a peanutbuttermonsterintothestory, that's thepowerofthechat.
Butwe'llsaywe'llaskthegrimwaltmanhere.
Thiosortofputusdownonfirmground, actuallygetusinto a positiontomakesomechoices.
Thesandwiches.
Hollywood's turningthisinto a movie.
ThefirsttracecouldbethewayyouinfiltratetheEarth.
Ah, yes, ofcourse, saysVD.
Hugthat.
That's actuallyquiteexcellent.
Wecoulddosomethinglikethat.
Um, yeah, whydon't wedothat?
Actually, ifunlessGrahamWaltmanhas a differentsuggestion, wewillusethatasthebeginningofourtextadventure, justsothatwecanatleastgetto a pointwherewecanstartmakingchoices.
I feellikeyoushouldbetheCEOof a bigpeanutbuttercompanyasthesecondincommandofAlienSurvivalForce.
Youhavetoimplementthreetasks, saysBunnyontherun.
Okay, that's interesting.
Um, okay, sothat's bothofthosearegoodideas.
Solet's let's saythatsogood.
Waltmanhas a respondent.
Sogoodmarksman.
Ifyouhaveideas, definitelycontribute.
We'llsaywe'lltakeVD.
HugsExample.
Oh, Hamilton.
I'm notreadyyet.
That's okay.
Umwell, say, let's see.
Wherewasit?
Itwashere.
Firstchoicecouldbeaway.
Youinfiltratetheearth, right?
Okay, sothey'rethreetasksthatwecouldimplement.
SaysBunnyontherun.
Sowe'lldothataspartofthenarrative.
There's Bella.
Cureisyourascenttocarryout a secretoperationtostillpeanutbutterfromtheearth.
Sowe'llusethat.
Weusethatyouaresenttocarryout a secretoperationtostealpeanutbutterfromfromtheearth.
HowwillyoufirstinfiltratePlanetEarthknowsthatwehavethreeoptions A, B and C, whichwehaven't decidedonyet, but I cansayoneenterandthentheprogramexitsbecausewe'vegottentheresultandthat's theendofour s