all right hello world this is cs50 live
my name is I'm still in the habit of
saying this is cs50 on Twitter my name
is Colton Ogden um in case anybody is
brand new to this sort of ecosystem cs50
is Harvard's sort of introductory
computer science course and we now have
a presence on twitch and YouTube and
Facebook doing a live stream where we do
sort of from scratch implementations of
projects we cover well yesterday we
covered Kali Linux which is sort of a
completely different thing altogether
where we kind of go in just hacking in
cyber security but today we're gonna go
more into the former category of
projects and actually today is very
experimental
so today's stream is focused around a
text adventure in Python normally I code
in Lua and love 2d making games and this
is a game but we're gonna do it in
Python because I think more people are
actually familiar with Python more
people might be interested in Python
it's a nice easy way to do a command
line focused version of a game
especially for folks that are sort of
newer to programming and to Python more
generally speaking and I want to shout
out as Lou T who's in the chat today for
actually bringing this idea sort of to
my attention in the past she and I
talked about a text adventure that she
was sort of working on and creating and
I think she actually has a text
adventure that she created herself and
she may be plugging that in the chat at
some point so stay tuned for that but
today's stream is very experimental in
that we are actually gonna do everything
based on what the chat has to say so
this text adventure I'm not gonna write
any of this and I'm hoping that the
folks in the chat are participatory
enough so that we have a corpus of
potential avenues to explore today
during the stream but we're going to
essentially make sort of what you might
have seen in a choose your own adventure
style game or even the old books the
choose our own adventure book I'm gonna
pull up I'm gonna switch to my screen
here and I'm gonna pull up a Google
image I'm gonna see if they have the
choose your own adventure book sort of
pictures yeah these these sort of like
70s 80s
Isaac Asimov style like stylized books
these were cool because you would read
these and they would actually say you
know if you want to perform this action
go to page like a
and it was kind of like this I don't
know what the word is offhand but it not
asynchronous but it was sort of not
sequential nonlinear that that's the
word I was looking for
it was nonlinear way of reading a book
and actually sort of diving into the
narrative and having an effect on how it
transpired ultimately is very
interesting I used to read these as a
kid and I think these are kind of the
I'm actually sure if these came before
the first sort of text adventures like
was it called sorc isn't the name of the
the game series yeah so Zork is another
really famous game series and I actually
think I own these games but I haven't
played them I have an astounding number
of games that haven't played but these
are text adventure games that you'd play
at your command line or whatever and I
think some of them had a graphical
interface and you would choose sort of
how you want to actually play out the
game and if you made the right choices
you would eventually win and beat the
game and if you made a wrong choice you
would probably die in some gruesome
fashion and actually Bandersnatch came
out fairly recently on Netflix and this
was a black mirror episode that was a
very similar style sort of
choose-your-own-adventure
piece of fiction only this was
implemented in a brand new format sort
of through Netflix through streaming
video we're using you know if you're
using an Apple TV or using your TV your
Smart TVs remote you could actually
navigate through Netflix the different
options in the narrative to change the
flow of the story and this like choose
your own adventure games and like choose
your own adventure books had sort of the
effect of potentially leading you down
gruesome and unsorted
but this is cool this is gonna be an
interesting I think way for us to take
this format and actually apply it to I
guess twitch and make it a community
driven thing so we'll see how it works
out I'm gonna as Li plugged her thing
there in the chat and no Eliza is this
being recorded yes it is being recorded
this will be on YouTube after the fact
of course if you're watching this on
youtube you will not have taken part in
the creation of this and if you're
watching this on Facebook or on YouTube
I would recommend going to twitch at
least for today's episode because the
latency on twitch is less than Facebook
and YouTube and I will ideally like to
be able to read people's responses so
that we can keep the flow going so
definitely
turn on a twitch twitch TV slash cs50.tv
if you want to suggest options for
today's chat eastland and has some
suggestions that I'm probably not going
to plug in uh cuz I did not know what
that means this is Google something to
show good pictures very good interactive
fiction in Russian I'm gonna have to
take your word on that he's London that
sounds like it could be a slippery slope
and is missing again how long will it be
this would be about three hours so
usually my streams are about three hours
long we may cut it a little bit shorter
um it like whip streaks said ninety
minutes is kind of the lower bound three
hours being the upper bound but we'll
see how we'll see how things go and I
have actually no sort of preconceptions
as to how the stream should go other
that other than that it'll be a
interactive text adventure in Python and
that you guys will be sort of leading
the way so I have a Visual Studio code
project already up and running it's just
called text adventure in my streams
folder I'm gonna create a a file called
main dot pi and this will probably
honestly be all that we need for today
because we're not going to super crazily
engineer a project it's just gonna be
basically one file with a bunch of like
textual options and we'll have some
conditional logic in there depending on
how fancy we get with it depending on
how people what people want to do we
might end up tweaking things a little
bit but we'll see how things go
so in okay a main dot pi and then python
extension is recommended for this file
type it is okay I will disable that for
now and I'm just going to say if name is
equal to main and then we'll just say
main we'll just have a function called
main def main whose goal in life is to
print hello twitch or both hello cs50
life we are not streaming exclusively to
twitch we are streaming to a bunch of
services and I'm gonna open up my
command prompt I'm gonna actually where
am i right now I'm in my home directory
I'm gonna go into dev streams and then
text adventure I think and then if I go
python 3 main PI this will indeed output
hello cs50 live so not a terribly
interesting adventure so far but I think
the first thing that we should do is we
should decide on the title of the game I
think this would be a nice way for us to
get some inspiration
and so I'm gonna choose people in the
chat to give me one word at a time this
will be interesting sort of like that
choose a sentence in pieces we're going
to start with choose the title in pieces
so since Ashley is the sort of star of
the show today because she recommended
what we do as Li I want you to recommend
the first word of the title of this text
adventure and hopefully there's not
enough latency to where this gets to be
a little bit sluggish but we'll see and
then oh oh and you're ready good good to
see you
and as he's saying um it's a lot of
pressure a lot of pressure
aliens okay aliens aliens is the the
title of this text adventure so I'm just
gonna create a constant up here and the
first word is aliens okay
second word whip streak Nate let's say
what's the second word of the of the
title well honestly no idea where this
is gonna go let's also keep it PG
preferably so it will not be accepting
profanity as part of the stream but you
know I'm excited I'm anxious to see
where this leads us because this could
be very fascinating and it'll probably
very nonsensical ultimately the
adventure but that's just kind of part
of the fun
[Music]
the Irani says whoa that's cool
aliens nice Alejo coma injure any Indra
it's not your turn yet but I'm you're
you're coming soon and his musing again
I'm gonna keep track of all the folks
that are in the chat and I will ask all
of you eventually to contribute to this
but just so that there's not a
bombardment of things at once and so
that I don't have to make choices I'm
gonna have to I'm gonna have to narrow
it intergalactic adventure okay
aliens intergalactic adventure okay so
that's two words though Nate to be fair
that's two words we're gonna have to
stick to just one word so I need you to
I would need you to sort of focus down
what's one word that you want to use can
be intergalactic Pyro's mm to aliens and
pogo sticks misspelling
is that the word is misspelling the word
that's an interesting word no trend
sources you all new here nice to meet
you all hello no trends are good to see
you
Babic welcome to the stream we're doing
a text adventure live and everybody is
contributing to the text adventure so
currently it's on Nate to decide what
the second word of the title is so whip
streaks in mate what's the what's word -
what's the word following aliens here in
our title intergalactic okay perfect
intergalactic and then Indra ready I
want you to give me the third word of
this title and maybe they'll maybe
that'll be enough maybe this is the end
of the title aliens endgame done done
yellow and Babic your net your you're
coming soon don't worry since you're
such a regular we're gonna get you
involved in this ASAP but everybody's
gonna everybody in the chat I'm gonna
try to get everybody involved just make
sure that you if you're in the chat and
you haven't said anything yet say
something so I know that you're actually
present so I can call on you but Indra
ready we're waiting on writing on indra
for the third word of our title we'll
see how this goes
Marvel aliens intergalactic Marvel okay
that's interesting let's well that would
be the title that'll be the title of our
of our of our text adventure so of
course what we need to do in main is we
need to print our title right and so if
you're brand new to Python I'll try and
explain no trends or my name is Mike
hello Mike good to see you if you're
branded a Python or try to kind of keep
it slow so this is a function main it
basically lets us say do something when
I call this function here when I say
main parentheses that means actually
execute main actually do what's inside
of it so I define a function called main
and inside of that I'm just saying print
title and title all we've said is at the
very top is a string that's what these
apostrophes sort of designate some text
and just says aliens intergalactic
Marvel right so that's that's all we've
done so far we're literally just
printing a string that says aliens and
galactic marvel so if I go back here and
I print that then we get printed to the
screen
aliens intergalactic Marvel virani says
I used to be regular but the schedule is
so uncomfortable for me it feels bad man
oh yeah I'm sorry if if it's a little
bit later in the day or maybe it's
during a work period and your idiom too
bad at choosing words that's okay that's
okay
and is vision good so of course we have
the title we're gonna need like a little
short introduction so let's let's maybe
have a like a few sentences of an
introduction so the first sentence Babic
I want you to give us the first sentence
of this text adventure so we'll have
this sort of the introduction intro
intro and we're gonna make it a triple a
triple quoted string and what this lets
us do is this actually lets us format
the string however we want to including
new lines so this is kind of a nice
feature of Python so Babic we're waiting
on you for the give us the first
sentence of the introduction we want it
to be as epic as possible and then we're
gonna call on someone else for the
second sentence but all I'll wait -
until we get the first sentence from
Babic before we decide to do that so so
far it seems like this is going in the
realm of sci-fi a little bit kind of
epic sci-fi so I'm not entirely sure
these Earthlings are not using their
full potential I love it
these earthly are not using their full
potential virani I want you to give us
the second sentence can you do that for
me Bharani second sentence number two in
our intro here these Earthlings are not
using their full potential of it I love
it as the first that's a great first
sentence way past mrs. Verona I'm sorry
you know what we're trying to do is
we're actually trying to bring the
stream back to an earlier schedule
that's why today we're actually
streaming at noon Eastern Time because
normally we stream at 1:00 Eastern Time
and that's typically a little too late
for a lot of people but twelve is a
little bit earlier so hopefully we can
sort of accommodate some folks
jinhwan Chong says hello everyone hello
shin one good to see you can I do this
through spider and is missing again I'm
not sure what spider is I apologize
and a Zen is missing again I'm gonna
calling you soon because you've been
you've been active in the chat I've just
started the cs50 glad I've caught this
how long do you normally stream for this
beer hunter
we usually stream for about an hour and
a half to three hours so we'll see how
long today's goes it's gonna be it's
gonna be interesting we're gonna we're
gonna see how I have an honestly no idea
what to expect today
Oh anaconda okay probably unnecessary
honestly to use an IDE for today this is
more of like a back and forth with the
chat and we're just gonna be using vs
code you probably Oh if you're talking
about on your own yeah you could use I'm
sure you could use a spider for almost
anything Python related all we're doing
today is just strings basically strings
conditional logic we might get into
inventory depends on how complicated the
text adventure gets and how much we can
get done in three hours but yeah that's
essentially what we're going for and so
I asked I think I asked Virani so Virani
we're waiting on you for the for the
second sentence of the of the intro here
so let's uh if you're if you're
listening in we need you we need you so
you'll see us glad you are back Oh Cyril
good to see you it's been a while I
honestly don't associate anaconda with
much more than like matplotlib and like
scikit-learn stuff
like machine learning stuff but then
again I don't do a ton of that in in
Python dr. robot Vinick will you do any
more jazz intro sessions um probably
probably what I want to do personally is
get more into react projects and build
up something like react projects on
stream from scratch I think that would
be interesting they're eating peanut
butter but it is the most precious
resource in the universe since it allows
for intergalactic travel okay
okay they are eating peanut butter but
it is the most
I love how peach I love just how PG this
explicitly is today it is the most
precious resource in the universe since
it allows for intergalactic travel
and then we're gonna get one more we're
gonna hit one more sentence maybe two
more sentences so the next person I want
to ask is n is missing again can I get
you since you've been proactive in the
chat today can I get you to give me the
third sentence for this intro dr. Bob
panic at me - I think JavaScript stuff
and react stuff would be a lot
Bharani I appreciate I think the
absurdity is fantastic let's keep the
absurdity going so that we can I think
that's ultimately the point of this
experiment is to see how crazy we can
get zanza min says cool stuff exnihilo
I'm here to contribute perfect I will
call on you exnihilo very shortly I want
to thank all of the all of the folks
that have followed actually in the last
few minutes here we have zero cool and
his vision again power hit 666 exnihilo
Alfred montebank Ashish Gupta and
bonking elephant to kill very much for
the follows I appreciate it and is
missing him can someone else give me a
sentence I'm looking for my charger
we'll call call back on you and is
visiting in exnihilo since you said
you're here to contribute let's get you
to get a third sentence here in the chat
in the in the intro here I like how you
can keep up with various conversations
at the same time we got to keep we got
to keep the flow going you know and I'm
actually super stoked that like so many
people are here chatting and making this
making this a thing because if this was
like one person I think it would get a
little bit dry or at least if if not dry
very consistent because we would have a
consistent narrative so one person
wouldn't be bad but I think having a lot
of people lets us bring a variety to the
table here and make things interesting
so exnihilo we're gonna get exnihilo for
the third sentence for our intro and
then we can start talking about actually
creating the text adventure getting
logic getting some lecture if then if
statements in the air if folks are brand
new to Python this will be maybe
interesting or educational if folks
already know Python this might be a
little bit simplistic but you know the
goal is more to have fun today and do a
little bit of Python not more to not as
much to be super crazy with the
engineering side of things France has
got latency fixed 30 seconds of delay
that's terrible I would I
that would be rough for today's stream
especially if we call on you so now I
know if I call on you when there's a lot
of latency at least I know what's going
on I know you're not ignoring me if our
race is to survive we must obtain as
much of it as possible so so what we're
saying then is that this this whole
thing is for the perspective of the
aliens which is interesting okay okay
we can do that so if our race is to
survive we must obtain as much of it as
possible
cue the text adventure so this is a
villainous text adventure game so this
isn't from the perspective of humans
this is from the perspective of the
aliens I'm curious how we're gonna
actually get all that peanut butter so
the next thing that I want to do after I
printed the title then I want to
probably print the intro so once I do
that we can see that aliens
intergalactic Marvel these Earthlings
are not using their full potential they
are eating peanut butter but is the most
precious resource in the universe since
it allows for intergalactic travel if
our race is to survive we must obtain as
much of it as possible so this is the
part where we decide how we actually
begin the text adventure so usually in
text adventures its presented in second
person it's it's um it'll usually
present you a dialog like your name is
blah blah blah
you are something you are somewhere
doing something what would you like to
do or give you some options you know
you have you have several options in
front of you what do you choose to do
right so why don't we get a prompt like
that a second person prompt for our text
adventure I feel like that would make
things a little bit more I guess
Orthodox in this context Ashish Gupta
aliens ask their own alien spocky to
beam them down to earth and fix this
issue humans reject Oh their own humans
Spock right gotcha gotcha gotcha this is
my first class as Tim on 4 doozy
yeah this is gonna be an interesting
first class for you some deep dream
story since and
actually this does kind of feel like a
deep dreams deep dream story we should
choose the name for the alien all right
we're good we should probably yeah let's
choose the name for the alien and this
is something that day9 likes to do a lot
day 9 is a youtuber and a streamer that
will do something similar to this when
he chooses names for his sort of
character as that he plays so we're
gonna create a variable called hero and
one letter at a time I want to get one
letter at a time from people I'm gonna
call on you one at a time
since so thaliana is brand new to the
chat so follow you I want you give me
the first letter of the the hero first
letter of the hero's name and let's
consider that this is going to be an
aliens name and that probably doesn't
matter this will probably be a crazy
name either way but we'll get self
following who's just now in the chat to
give us the first letter of the name I
don't know if this is too advanced for
this start but why don't we have user
input to allow for a more personalized
story we could do that we could say you
know input what is your name we are
going to do a more personalized story in
the sense that we're going to start
choosing options in a little bit but we
have to sort of set the stage for the
story before we do that and I think it's
more interesting also for the chat that
choose the hero's name then it is for me
to create a name but Z is a perfect
first letter and actually let's decide
how many letters the name is going to be
I'm gonna go to random.org and then I'm
gonna say the name is gonna be between
we're gonna choose one number that's
going to be between 500 say it's between
5 and 10 characters it's gonna be 6
characters long 6 character long name so
let's go back to here so Z so if I like
kindly gave us the letter Z beer hunter
why don't you give us the second letter
of the of the hero's name since beer
hunter has been also very active in the
chat and his Mensing and also said Z
people having some latency issues as
well if folks are definitely refresh the
stream because
yeah it would be painful I can imagine
the pain on your end trying to get
trying to get through with 30 seconds of
latency so you're not just said Y so Z
why are the first two letters of our six
character name let's see who else has
been in the chat Alejo
let's uh let's get you involved Alejo
Gama give us the third letter of the
aliens name it'll be kind of awkward if
I choose somebody's name who's left the
chat because because I'll be asking them
for a letter and they just won't be
providing it
no trends are will get you involved here
but a Laiho if we could get a letter
from you for the for the aliens the
third letter of the aliens name let's
see if I'm missing did I miss any
anything in the chat I don't think I did
aliens and ice they don't have to be
villains that's a good point and this is
a fairly fairly innocent story at home
do you do this kind of stream a lot I
only saw it on watch people code we do
actually the XML we stream every week
about two to three times and we're
trying to crop we're trying to publish
more stuff sort of out to different
subreddits and other platforms so I'm
happy that you actually saw it in the in
the reddit there so thanks for tuning in
Alejo said W so this is a just a crazy
sort of end of the alphabet name so far
but no trends er I'm gonna ask you if
you want to double down on G or if you
want to choose another letter binary
warrior 76 good to see you away in Japan
power hit six six six oh I see okay
interesting no I'd be my first and last
course at the same time sad it's late
for me here oof yeah I do know that in
Japan right now it is way late it's like
super far across the world so I I don't
blame you at all for not being able to
tune in more but thank you for tuning in
today hopefully I will get you involved
so maybe for the next letter no trend no
trends ER is doubling down on G so we're
saying zeig Zog is the current name of
character say people 89 hello good to
see you and I'm glad exnihilo that you
enjoying the concept way in Japan
let's get you Ovadia hug we'll get we'll
get you next video we'll get you next
Henoch says I'm new to the stream I love
coding and I appreciate it awesome glad
that you're joining us today
I'll keep standing your GD 50 not on
Super 50 bro oh now on super 50 bros
awesome that's that's super cool thanks
for for taking the course and keeping
keeping up with it let's get you way in
Japan let's get you to to give me the
5th letter of this of this name and then
we'll get VD hug to get the sixth letter
but VD hug let's wait until what say
until way in Japan gives us this gives
us the name please let it finish with an
H so there's a kook
BRB don't call on me o way in Japan says
E soggy and then lastly VD hug let's get
them let's get the last letter and let's
see who else who else do we need to get
Henoch t9 involved actually ASAP which
topics are you targeting is part of cs50
live pretty much all over the place Oh
Bella and Martin right of course we'll
call on them ASAP so VD hook says H so
za za gay is that gay that's the name of
our alien is that ok alright cool so
let's go ahead and let's write this is
our ting to get a way sort of this will
get really bulky and that's sort of how
the nature of text adventures goes as
things are gonna start to accumulate a
bit but let's we're gonna need to use
this name now in a sort of a second
person prompt we need to say oh you are
blah blah blah you know they set the
scene sort of speak so let's get let's
get Bela cures Bela if you're in the
chat I want to get Bella to give us the
first sort of prompt here telling us
setting the scene for how our adventure
is gonna begin right we need we need to
set the stage we need the we need to say
who the hero is where they are what
they're doing what the goal is and where
are we supposed to go to the first the
first sentence of the prompt Bella if
you if you could kindly indulge us in
the
first prompt first sentence and then
we'll take it from there and then I need
there are so many people being so
proactive in the chat today which is
amazing it's gonna it's kind of hard to
keep up with all the names right now but
too cold for Mises way in Japan Oh in
reference to Virani I guess they're
talking about Oh Siberia have brownies
in Siberia
oof that is yeah that's that's not a
very warm part of the of the world
especially I think now I'm guessing
right now it's extremely cold this is
this emcee gonna be badass Eastern
European a Lee oh man
ganache how I called Michael shames get
to learn a lot awesome thanks so much
ganache will get you involved today
hopefully Belle live you're in the chat
maybe Bella isn't in the chat it's been
a while since you've heard from Bella
but if Bella you're in the chat we'd
love to get a first sentence from you I
know it's also a lot of pressure so it's
kind of tough I think on the fly to sort
of come up with something
Berenice just try living in Scotland ooh
I actually don't know that much about
the weather in Scotland I would imagine
Europe or Western Europe generally
speaking sort of the UK area is pretty
chilly this time of year all I know
about England is that or at least UK is
that it's extremely extremely rainy and
grey snow just melted all awesome nice
if if Bella is not in the chat we may
have to come back to Bella in the future
I know Bella is always here so she may
have stepped away she may be here
lilius is in Spain it is really warm it
is not warm in actually in Boston right
now it's pretty warm so that we're in
Cambridge Massachusetts this is where
Harvard University is located uh-huh all
things considered it's actually pretty
warm today it's in the 40s it's been
colder than that earlier we actually was
in the 60s like three days ago it's
pretty nice and then it was in the 20s
and like tens for a while and that was
really brutal but yeah it's I don't
think it really holds a candle to Europe
I think you're
tends to get really brutally cold at
this time of year so I'm not gonna say
anything I will smile and enjoy the
weather that we have here on the east
coast of the United States
never trust British weather
let's get so Bella we might we might
come back to Bella
let's get who haven't we call done
that's been active in the chat so far
[Music]
binary warrior 76 we haven't called on
you you've been you've been here in the
chat so let's get a let's get a sentence
the first sentence prompt of our text
adventure setting the scene let's get
that from binary warrior 76 what is
going to be the this the beginning of
our adventure
snart cheese Oh seven degrees Celsius in
well I'm guessing I'm guessing Celsius
in North West England I don't think
someone from England would use the would
use the imperial system you could
probably write a script that collects
people's names into an updating list
that shows all the names that have been
active in the chat that's probably true
that is probably true well he was
talking in for a night oof okay
interesting vroni going to go afk don't
call me please I appreciate it I
appreciate the folks that are letting me
know that they're going afk so I don't
call on somebody and and sort of assume
that they're there because yeah it's
hard to tell necessarily because people
are so active that you might somebody
might somebody might step away on a
moment's notice things come up reality
has a lot of things that introduce
complications to these sorts of things
you know some of you might get a phone
call or food might get delivered you
were an alien from a galaxy far far away
I love it you are an alien from a galaxy
far far away and your name is I would
get from from I don't know what would
that be from I guess from Croatia or
some or something insert Eastern
European country alien being alien to
himself said virani
yeah that's true binary where 76 or just
responded I have to leave now thanks for
let me choose a letter Colton my
pleasure away in Japan thanks so much
for contributing let's get let's get
have a
stay you as well let's see who haven't
we gotten the letter from snark cheese
snark cheese I haven't seen you give us
anything yet let's get something from
from snark cheese let's get the second
sentence of our prompt we need a little
bit more information we're an alien from
a galaxy far far away but what are we
doing what are what's our goal what's
our plan obviously we want to get peanut
butter from Earth right we want to
prevent the Earthlings from eating all
the peanut butter it's the it's a
precious resource for intergalactic
travel while we can't grow our own
peanuts and make peanut butter that's
too it's too complicated to know at this
point in time all we know is that we
need to get the peanut butter that
exists on earth right that's that's the
plan so snart cheese what's the second
sentence in this prompt to set the scene
what are we doing you explore new worlds
to find new home for your species how to
use that I will call audio I'm gonna get
you soon don't worry a monumental task
has been laid ahead of you by High
Command okay
a monumental task has been laid ahead of
you by High Command Kate sounding pretty
epic sounding pretty epic at a user what
is the next sentence following snark
cheese is awesome scent it's a
monumental task has been laid ahead of
you by High Command we need a concrete
goal though we need to be able to start
making choices this is a
choose-your-own-adventure this is a text
adventure game so we're gonna need to be
able to say you know I don't know if we
want to do this in like a you have three
options in front of you but really I
mean this is this really depends on how
people decide to word their sentences
right this is this is how it's going to
set the pace for the adventure but ought
to use that we're gonna get the next
sentence from you so go ahead and
contribute that previously you said you
explore new worlds to find a new home
for your species but we're going to I'll
ask you to confirm if you want to maybe
reword that or use that or choose a new
sentence given what snark cheese said
our weather doesn't let us cultivate
peanuts obviously it says SAT there we
go that's great a great amount of sort
of exit exposition it explains the
situation at hand analyze Earth's
climate and grow our own on our planet I
guess we could terraform a plant in the
planet you know develop an atmosphere
capable of growing peanuts and then
they're for manufacturing peanut butter
and this is all hopefully within the
realm of possibilities for a for a an
alien species with sort of intergalactic
travel from your mission depends the
future of our planet okay so from your
mission depends the future of our planet
awesome you are to infiltrate the
Earthlings
live amongst them become one of them and
learn the way of the peanut butter
excellent excellent I think that's a
that's a great sort of way of framing
the framing the adventure so let's see
who has who's been in the chat who I
haven't called on so no trends er I
think I called a no trends ride use it
beer hunter s hm seven four six hello
world
awesome so right on time s hm seven four
six we are making a text adventure and
at what you see on the screen is
essentially the text adventure but what
what we need now is we need a prompt to
basically tell us what we're doing right
now at this moment in time and we need
to start making choices we need to start
actually driving the text adventure so
right now we've had a lot of exposition
but we need to basically have something
along the lines of you are at so-and-so
place and you have to do so and so like
you have three choices in front of you
right and then once we get to that point
we can actually start asking for input
and getting the user to choose which
choice they wanted to cite on and then
we can have sort of branching paths and
then this that'll be pretty interesting
so as a gem seven four six give us the
next sentence in our prompt what are we
and I'll move this over just a touch so
that we we can see it with the chat
there in the overlay what what is the
next what is gonna lay the groundwork
for our next sort of piece of this text
adventure and Grimm Waltman hello there
good for thanks for joining us
appreciate it HM seven four six it's on
you now everything is on your shoulders
where are we what are we doing how do we
get this adventure kicked off
hello world is so ironic right now it
says as Li a little bit it's a like
actually hello earth sort of as an alien
infiltrator reminds me of the old
invention books where you turn to a page
depending on your choices
exactly yeah we talked about that
actually early in the stream this is the
this is the sort of choose your own
adventure style book in twitch form and
binary warrior yes this will get
cluttered fast wouldn't it be better to
put our prompts in another file import
them from there absolutely would and
once we get a little bit larger I think
we will actually probably start doing
that Curie uses hi Colton hello cure you
thanks for joining still waiting on SH
m7 for six for the next part of the
prompt if maybe they step they said that
they join the Chad that it looks
exciting but if they might have stepped
away we may ask I'm making Javon three
involved or Grimm waltz Minh actually
since they both just joined the chat but
wait just a second more maybe they might
have to eat peanut butter that's true it
is this is the kind of text adventure
that's gonna make you want to make it
peanut butter sandwich
because there's so many mentions of
peanut butter can I get a pass yes
absolutely can get a pass let me know if
you want to get a involved a little bit
later sh m seven four six grim waltz
Minh
let's get you involved yeah I want you
to fill in the end of this prompt I want
you to say sort of how we can get in how
we can set the stage for taking the
adventure to a position where we can
actually start making choices away I
want us to be able to say something
along the lines of you something more
concrete and sort of right in front of
you like you are currently at blah blah
blah doing blah blah blah blah blah blah
you can do one of three things or maybe
something like that just so we can at
least lay a framework for ourselves and
if folks have other ideas definitely put
them in the chat destroy the peanut
butter monster I didn't know there
wasn't peanut butter monster but we can
write a peanut butter monster into the
story that's the power of the chat
but we'll say we'll ask the Grimm Walt's
been here to sort of put us down on firm
ground to actually get us into a no
position to make some choices and the
sandwich says Hollywood's turning this
into a movie the first choice can be the
way you infiltrate the earth ah yes of
course
says VD hug that that that's actually
quite excellent we can do something like
that yeah why don't we do that actually
if unless Grimm Walt's Minh has a
different suggestion we will use that as
the beginning of our text adventure just
so that we can at least get to a point
where we can start making choices I feel
like you should be the CEO of a big
peanut butter company as the
second-in-command of alien survival
force you have to implement three tasks
says bunny on the run okay that's
interesting okay so that's both of those
are good ideas so let's let's say that
so grim Walsman hasn't responded so if
your maltzman if you have ideas
definitely contribute we'll say we'll
take VB hugs example okay Austin I'm not
ready yet that's okay we'll say let's
see where was it it was here first
choice could be a way you infiltrate the
earth right okay so there are three
tasks that we can implement says bunny
on the run so we'll do that as part of
the narrative there's bail occurs you
are sent to carry out a secret operation
to steal peanut butter from the earth so
we'll use that we use that you are sent
to carry out a secret operation to steal
peanut butter from from the earth and
then VD hugs comment was fantastic so
the way you infiltrate the earth so
we'll say we'll see something like how
will you first infiltrate planet Earth
right so now we have like the ability to
start prompting for input so this is
where it's gonna start getting
entertaining so I want we'll say at
least three choices but we'll let since
bunny on the run and grim Walt's been
feel free to contribute here this bunny
on the run contributed the
second-in-command of alien survival
forces three tasks comment I want bunny
to suggest one option user man - hello
good to see you
as they say save good thinking but yep
fantastic so bunny on the run I want a
task from you and who haven't I called
on who's been in the chat
I apologize Kiera you Curie you I don't
think I called on you secure you if you
have an idea contribute one option so
it's gonna look something like this so
we'll say first prompt options it's
gonna be equal to 1 and this will be you
know option a to option B and 3 option C
right so here we can say print
well actually what we're going to do is
we're going to say no actually no no
this this is good we're gonna say print
first prompt and then what we're gonna
do is we're going to say infiltrate
option is equal to input on first prompt
options and what this is going to end up
doing is it's going to display the title
the intro the first prompt and then it's
going to display the three options that
we're gonna choose here in just a second
but it's going to assign whatever we
whatever value we choose 1 2 or 3 back
in to infiltrate option and we can
probably turn this into an int and maybe
use that in a sort of a list of options
but we'll worry about that in just a
second but let's for now make sure this
is running appropriately so we have all
of our stuff so far so a lian's
intergalactic Marvel these Earthlings
are not using the full potential etc etc
you're an alien from the vex far far
away
how will you first infiltrate planet
Earth notice that we have three options
a B and C which we haven't decided on
yet but I can say 1 enter and then the
program exits because we've gotten the
result and that's the end of our script
so let me go ahead and read the chat
let's make sure that we're keeping up
with all the options here I feel like
you should be the CEO ok I already read
that right all right
become an undercover earthling has got
to be one that will be an interesting
choice having to not get caught I have
to not fit have to not figure now what's
going on one option should be disguised
as a wave the arm tube hands
using hint - okay that's that's an
interesting series of choices so the
first one was somebody said become an
under cover earthling
so it's option one so that's more of
like this I think more of like this like
what you would expect sort of like men
and black style like disguised as a you
know as an alien disguise yourself as a
human and then try to get wherever
you're trying to go on earth
peanut-butter option give earthlings the
superpower of telepathy and they will
misuse it by reading other minds and
start a civil war against each other and
we can save our resources before
infiltration that sounds like a lot
better guy let's let's maybe keep it
it's maybe we keep the stuff down a
little bit just so that we can have a
more granular evolutionary sort of
sequence of steps although I like where
your head's at I think that's a very
creative way of sort of leading the
narrative a little bit we can make
absolutely give humans telepathy and
then and then sort of write out that
story with other other folks input maybe
I think that could be very interesting
the font color choice is on point oh you
mean for the for the text editor or for
the prompt for the terminal they vary
matrix e style become a peanut butter
jar that is fascinating become a peanut
butter jar we'll make that option become
a peanut butter jar and we won't limit
ourselves to three options well we'll
have a few options here so we'll say
give humans the power of telepathy in
the hopes they hate engage in warfare in
civil war we'll say that a civil war and
then pretend to be a snake charmer but
your snake can read human minds to get
information oh man okay well well well
let's make that may be part of the first
thread here becoming an undercover
earthling so well user man - well well
well introduce that as part of the
option one right and the qui m'a hi I'm
Manuel from Nigeria hello Manuel good to
see you thanks for coming invasion
invasion ok attack them
Alejo so this is of course another
option so attack the Hume attach attack
the humans right so we have four options
so far the peanut butter jar could be a
random movement where the humans take
you places hoping to land in the right
place
Oh interesting I like that I like that
idea propaganda for endgame a bunny on
run yeah
actually not too familiar Oh probably go
for the avenge in New Avengers movie is
that we talking about potentially og
bono you said you landed in the center
of a giant farm field and some humans
have approached you do you a vaporize
the humans be trying to communicate to
the humans or see erase the humans
memories and move to a new area
this is juban 3 so we can maybe use that
for for the I guess not the option 1
because that wouldn't be becoming an
undercover earthling that would be more
like diving straight into earth as an
alien and trying to blend in without any
disguise which is a possible option we
could maybe do something like that I
like that I like the fact that there are
options there we can sort of branch off
into different paths and this this is
definitely gonna get very bloated very
quickly but that's ok this is largely
text anyway so it doesn't matter too
much but we will we'll see if we can we
see if we need to refactor it eventually
we might need to honestly
okay so Javan three's idea I like to
bond threes idea so I'm gonna say we're
gonna create that as another I guess
option and we'll say that that is don't
want to organize it this way I guess so
we'll keep everything roughly sequential
I think so we'll say farm field options
is equal to whoops
and we might not use this right away but
you have landed in the center of a giant
farm field and some humans have
approached you do you a will say one
will keep it consistent we'll use 1 2 1
through X instead of a through whatever
so that we don't get confused when
entering input vaporize the humans to
try to communicate to the humans or 3
erase the humans the humans memories and
move to a new area ok cool we will do
that give me just one second here ok so
this is good this is good so far we
don't have to use the farm field options
right away what we can do is keep it
sort of in our back pocket for a later
time at which point we can end up start
doing it so let's go ahead now and let
me just keep up with all the chat so I
can see where we're going see if anybody
made any suggestions or you could taste
terrible making all the humans hate
peanut butter in time ooh
that's that's clever I like that as they
I like that a lot actually
so did we already write that in so
become a peanut butter jar we'll make
that part of the peanut butter narrative
right the peanut the option 3 narrative
so we'll say we're gonna say something
like this undercover earthling narrative
right and then we'll say this will be
the telepathy narrative then the peanut
butter jar narrative and attack humans
narrative now I'm not entirely sure
where the farm field options should fall
under I'm gonna guess the attack humans
narrative but the this sort of gives us
more options I think but we'll do this
we'll keep this in the farm field
options narrative section I
that seems to make sense to me what
could be upon landing you saw a furry
creature playing with an earthing from a
distance and decided to shape-shift into
it so the turning into a dog narrative
okay that's interesting
turn turn okay so oh well that doesn't
necessarily that could be part of the
we'll make that part of the attack
narrative I guess right yeah we could do
that well maybe make that part of the
attack narrative so let's say become dog
choice oh but see the thing with that
sandwich is we're gonna actually need to
we're gonna need to actually decide we
need to make the choice to do that so
that needs to be in a particular point
in time I guess so become dog choice I
think it would be better off as upon
landing you see a furry creature playing
with an earthling from a distance and
decide to shape-shift into it so what
this could be this could be like maybe
after number three here from the farm
field options then we go over to the
become the dog choice right so that
could be good so let's say infiltrate
option so what's a clean way to do this
I guess we could just do don't want to
write separate functions for it then we
don't get to preserve prior options is
the only problem but is that a is that
an issue if they all are completely
separate branching paths I guess that
doesn't really matter too much so we
could say
well just keep it simple will say if
infiltrate option is equal to and then
what we're going to do is we're going to
turn this into a number we're gonna say
to imp we're going to int it so this int
function basically when you when you
enter string input into the console it's
just a string so if you try to compare
it to another numbers it's not gonna
work because it treats string data as
different from number data and so if we
want to just well I guess it wouldn't
matter in this case because we're just
comparing it to if it's equal to
something but we're gonna say if it's
equal to one the number one
oops I'm used to Lua then what we're
going to do is we're going to let's call
a function let's say that we have a
function called what would that be that
is the undercover will say undercover
narrative right so I'll run a function
called undercover narrative which
doesn't exist yet Elif infiltrates
option is equal to two then we'll say
and this is this is a situation where we
could actually start piecing things out
into different files because these
functions we could just import them from
other Python files and this would make
things a little bit less bloated so you
might end up looking at that in just a
little bit so if infiltrate option is
equal to two this is gonna be the
telepathy telepathy narrative till
telepathy narrative Elif infiltrate
option is equal to three this is peanut
butter jar narrative peanut butter jar
narrative and do we have five narratives
no we just had four narratives and then
we'll just say else and this will say
this is the attack narrative right yep
attack narrative and so this is a
situation in which we might be able to
get away with starting to create some
new files so I just create a new file
here called undercover dot PI and then
telepathy so I apologize I'm not keeping
up with a chat quite super well right
now but I'm gonna read through
everything here in just a second and
we'll get back on track so telepathy
narrative peanut butter jar narrative
so peanut butter jar hi I don't this
doesn't need to be telepathy pie it
seems to be totally nervous up I just
need to be telepathy top pie and then
attack narrative so attack top pie and
then now what we can do is in Maine if I
go up here I could say import undercover
narrative from under-covered
pie I think that should work and then
this might need to be a string if I'm
like for some reason forgetting how to
actually import in Python which is
embarrassing I'm so used to Lua Lewis
syntax and I was just using this
yesterday I was just importing yesterday
actually
how does it work here import spam I
think you don't need it it doesn't need
to be as a string right it can just be
the literal Python thing I'm surprised
they don't have like examples port frog
as oh do you have to do import from the
thing import I think that might be it
so from so from import sorry from what
is it or the different ones infiltrate
from infiltrate import papapapa
infiltrate narrative I think that's
right from peanut butter jar import
peanut butter narrative from telepathy
import telepathy narrative and from
undercover import undercover narrative
and the thing with these we might
actually end up needing these to be
separate folders because I could easily
see
like undercover having a different
options that all may be linked to other
files which all have like a sub
narrative so to speak and those might
have sub narratives etc etc but probably
we could get away with just having each
main narrative have a separate folder
rather than series of subfolders but I
think this should work I don't think I
have to write dot pie there so if I were
to take so if I were to call that if I
were to just basically write def attack
narrative and say print attack narrative
def peanuts butter narrative print
peanut butter narrative so I apologize
this is a little bit dry this is a
little bit of boilerplate that we need
just to make sure that things don't get
too overwhelmingly obtuse which is what
some folks mentioned back in the in the
chat deaf telepathy narrative print
telepathy in there whoops and deaf
undercover narrative prints under cover
narrative cool so a very exciting stuff
let me just run this to make sure it
works
no modulename infiltrates so there is a
I think you need to create an init dot
pie if I'm not mistaken so I think it's
just as simple as making a dot isn't it
just like dot R underscore in it PI like
that and doesn't that allow us to to do
it am I not mistaken
no module named infiltrates
oh you know what I don't I think that's
that's when you have a folder yep that's
when you have a folder right sorry I'm a
bit rusty with Python modules it's been
a little bit of a time since I've done
modules I'm so used to again Lua
programming and using that because I
taught the course and that's not all I
do on stream so
I need to just remember exactly how to
get that to work oh do I just need to
import just the raw import so it just be
like import infiltrate and then import
gonna put a chart like that it might be
mistaken maybe somebody already put it
in the chat for me oh there is no
infiltrate alright yeah import
infiltrate narrative does this end up
working oh these are sorry this is a
this is roughly it's pretty embarrassing
Python module import file in same folder
oh it needs to be in a package
so we have the in adopt pie right Oh
does it need to be now we have the in
adapt pie
Oh doesn't need to be okay so I need to
just do infiltrate wait it won't have
infiltrate what did I what did I Oh what
was it
undercover telepathy oh okay undercover
celebrity peanut-butter and attack okay
attack peanut butter jar telepathy and
undercover that does that work yes okay
awesome and then we'll say four attack
narrative is not defined so what we need
to do now is import so from tak import
tech narrative this should work from
peanut butter jar import peanut butter
jar narrative from telepathy import
telepathy narrative and then from
undercover import undercover narrative
is that gonna work why does that not
work that is interesting
gonna put a jar of peanut butter
narrative yeah how's that Oh peanut
butter narrative instead of peanut
butter jar narrative does that work
that's probably why yeah there we go I
miss I had a typo I call that peanut
butter narrative not peanut butter jar
narrative so apologies for that slight
little slump in the excitement as I got
the other modules sort of up and running
but now we have all of this stuff in
here sort of split out into other files
and I had to remember how to use Python
modules which it's been a long time as
you can clearly see so now let's go
ahead and bring these farm filled
options in the become dog choice we'll
bring those out to the attack option
because I think that was the I think
that was sort of where we had those two
options available to us and then let me
just make sure let me just make sure
that I haven't
miss too much chat which I've missed a
lot of chat actually I apologize PD hug
well this could be available and get up
after the stream it will indeed I'm
gonna publish it to github at the very
beginning of the chat are a very end of
the stream once you shape-shift eat all
the existing peanut butter but you have
stored it rather than digested it soul
to son says interesting so as the des
the dog how are we gonna do that because
that sounds like that sounds like an
adventure
so that'll that'll need to be that will
need to be a choice but how do we play
that off as a sequence I guess I guess
we could do that yeah yeah we could
absolutely do that so look we'll call
that the become dog victory right so
we'll say once you have shape-shifted
into a dog
you eat all have the peanut butter in
the world but since you are an alien you
have simply stored it not digested it
and bring it back to your alien
overlords there we go that's the beat
that's the dog victory right but we
should probably have a way to get there
in a well I guess I guess it doesn't
have to be super convoluted right if we
choose the form if we choose the the
option to get to the to attack the earth
we get to a farm field we erase the
humans memories and then move to a new
area and then we become a dog then it
kind of works but I guess maybe what we
could do is we could make the dog
becoming a dog an option instead of
mandatory so we could say upon landing
you see a free creature playing with an
earthling from a distance and we say
like what what do you do and then we
have one two and three maybe the three
options for the dog sort of branch of
our narrative right so pretty pretty
cool pretty interesting pretty unique
ApS night what are you streaming today
we're streaming me failing at Python
modules and also the chat creating a
live text event
using only well almost only input that
the chat has provided I've done a little
bit of creative exercise here and I'm
sort of trying to tailor it so that it
works well but it's largely almost
completely based upon what the folks in
the chat are saying bunny on the run
says take all the peanut farmers on the
earth and bring them back to the ship
oh ok so would that be option 2 then
here of the talk to the farmers so I'd
be like talk to farmers oops can't type
options equal to you talk to the farmers
and persuade them to or rather you talk
to the you try try to initiate a
conversation with the local peanut
farmers how do you guide the
conversation and so maybe option 2 would
be try to persuade the peanut farmers to
board your ship right that would be an
option that's an option we could do that
and then maybe after that you persuade
the peanut farmers and then you and then
the victory text is as the yo oh that
would be it right that would be talk to
farmers victory would be something along
the lines of whoops would it be
you successfully persuade the peanut
farmers of peanut farmers to board your
ship sensing this will be an easy task
henceforth you embark on a worldwide
peanut farmer gathering expedition and
steal all of Earth's peanut farming
talent that thus ridding the earth of
peanuts and granting your species
infinite peanuts agriculture prowess
there we go a little bit flowery but it
does the job that's that would be our
talk to farmers victory bunny on the run
so excellent suggestion give the humans
space Tech and wait for them to bring
peanut butter to you I don't know
says grim maltzman interesting
interesting give the human space Tech
and wait for them to bring peanut butter
to you so that would maybe be another
option of the talk to farmers right give
the we also need ways to fail because
you know generally in a text adventure
not only do you win but you also
generally meet your demise you usually
do something that kills you and then
ruins the game for you so I think it's
gonna be a little I think we need to
introduce a little bit of bad stuff in
your to maybe make it possible to lose
that would be nice X Nile or you can do
some object-oriented programming stuff
for option navigation are we gonna do
the classic chain of if statements
probably the latter honestly I haven't
given too much thought to how I would
design an object-oriented way of
navigating through this and I'm sure
there are other ways and I think doing
this that would be ideal I'd have to do
some research on it to find out like
people have probably written libraries
for this honestly but I would take I
think more time and it would be drier to
do that then it would just to like write
all this out and then just write the the
logic I think that would be a little bit
easier and faster for the stream but if
this were like an 8 hour stream I would
say maybe we could do that an option can
be to act like an alien obsessed human
to the point where the other humans
ignore you because they think you are
insane Oh interesting
good idea there's a lot of creativity in
the chat too what SH M seven four six is
saying dog goes like peanut butter this
is true there's our alien uh fingers cuz
he could throw lasers out of his fingers
he doesn't until you decide that he does
alejo everybody that's in the chat is
there is the author of this of this
amazing adventure and there is so much
chat that I am just like I am just
having an awful time
called me big goof Nate I'm sorry I
apologize Nate from my for my lack of
knowing Python modules by Adele me
figured it out and we can figure out
anything on stream Louis for making
simpler games a person when a unity and
very happy with it oh yeah
unity is definitely an awesome way to go
I'm gonna see what people have posted
here most recently before the dog thing
you could have the alien try to work out
what the furry animal was then one of
them could be the dog choice and make up
the others could be interesting Oh like
maybe we make it like a squirrel and you
get run over by a truck or something
that would be interesting right a little
bit less optimistic of an option of an
outcome I would say do people want to do
people want to maybe suggest how to
actually carry that out I was the same
three years ago this is what she yeah I
do a lot of Python programming but to be
fair I don't do a lot of module creation
at least I haven't in a while so I had
forgotten offhand exactly how the
package semantics work that's been
that's been a little bit it's been a
while
could have built-in fail mechanics based
on that interesting
built-in fail mechanics based on that so
playing and with an earthing from a
distance what'd he do so you could say
become the furry creature with a large
tongue but that sounds inappropriate
I'll say become the furry creature
playing with the earthling will say that
and then we'll say for option two maybe
we could do we want to say become a
squirrel or something
you have now erased the humans memories
you moved to new area and find yourself
in sand and seawater waving around and
seen earthling playing with the sand
interesting become the earthling wow
this is just so much can we create a
website using Python please reply
eventually we probably will Ravi we did
with flask I believe cream did a flass
tutorial where we made a Python website
but in today's stream we're not doing a
Python website in the future I would say
probably yeah you're not erase the
humans memories so okay
the humans memories is the that I think
that leads directly to the dog choice
right so if I say okay so let's first of
all write out the flow of this
so we'll say print farm field options
print farm field options and then what
this will do this will print this out so
you've landed in the center of a giant
farm field and some humans have
approached you do you and what we should
also do is because this is the attack
option you decide what we'll do is
actually we'll say you decide that the
best course of action is to attack the
humans directly directionally directly
so we'll say you've landed and some
humans have approached you do you and
then do that so now we at least have
established that we are attacking the
humans you have decided that's the best
course of action and so this is the
first part of the attack narrative and
so we can choose to vaporize the humans
communicate to the humans or erase the
humans memories and move on
so we'll say we'll say choice 1 is equal
to farm field options
so we'll say if choice 1 is equal to and
this is horrible by the way
so we'll say farm choice farm choice is
equal to the farm fields option so we'll
see if the farm choice is equal to 1
then we're gonna do is this is where we
try to vaporize the humans right so
we'll say we'll say vaporize the humans
so we're gonna need a we're gonna need a
path from the vaporize and the humans
right we'll say Elif farm choice is
equal to 2 we'll say this is to
communicate with the humans so try to
communicate with the humans and what we
decided on doing is that that was going
to be the talk to farmers option so then
we'll say communicate option will say
communicate with humans communicate
option is equal to and sorry this is
going to be input on farm field options
and this is going to be input on talk to
farmers option talk to farmers option
will make this is this farm field
options
it is this should be options as well
options so cool so this is sort of how
it's gonna work so we have the basically
if we've decided to vaporize the humans
we have some sort of logic and then if
we decided to communicate with the
humans we're gonna get input again with
this new prompt where it says talk to
the farmers right and so then what we
want to do is we're gonna say in there
if communicate option is equal to 1 what
this is going to be is the what is this
we haven't decided on this so this is to
do L if communicate option is equal to
this is a victory so what we can do is
we can say this is gonna be basically be
the end of the game at this point
we'll say talk to farmers victory will
say print talk to farmers not options
but victory
else to do right we haven't we haven't
actually decided on what we want the
course of action to be but we could
actually follow this logic now we could
actually test it out so I can say if we
run the application we should be able to
up stood a mess this up see a line 47
and attack dot pi is oh because we don't
have anything in here yet
so we have to if you don't have anything
in an if statement Python will complain
it'll say oh I expected you to have some
indentation it doesn't recognize
comments as being that indentation so
you have to actually say pass if you
have an empty statement that gotta do is
not gonna work so to do in pass both
basically work so that's that's
essentially we need to do we need to
write pass to make it actually render
okay so we get our whole thing so we
have our R prompt we have our title we
have all that stuff if we wanted to get
really fancy and we wanted to spend some
time on this we could make ASCII art
that says alien aliens intergalactic
Marvel I'll take I'll take a look and
see but there's maybe a web generator
for that because that actually be pretty
sick and what we're gonna do is we're
going to decide on attacking the human
so I'm gonna say option for attack the
humans you decide that the best course
of action is to attack the humans
directly you've landed in the center of
a giant farm field and some humans have
approached you do you vaporize the
humans try to communicate with them or
erase their memories so we're gonna try
to communicate with them and for some
reason that failed why did that fail did
you to do weight talk to farmers victory
that should not have say oh because
we're not actually converting it to a
number so remember we have to convert
this whole thing to a number we can also
just compare it to a string that'll work
too so let's run that one more time
we're going to attack the humans we're
going to try to communicate to the
humans and then we're going to try to
persuade the peanut butter farmers to
board the ship and when we do we got to
the end of the game and we've won and it
would be cool to make this actually say
you want ended at big ASCII text but you
know we'll get to that point when it
when we're gonna hit when we need to
you should have passed avoid errors and
warrior was one step ahead of me make it
to do function problem solved
yeah there you go exactly Oh Andres in
the chat
Andre we're gonna need some we need some
suggestions for you so we have a text
adventure that we split out into
multiple files notice that it's
basically just a bunch of strings but we
have a main narrative here which
basically says you know earthlings are
not using their full potential or eating
peanut butter it's the most precious
resource in the galaxy we need it for
intergalactic travel so you're an alien
named zag a which we've decided from the
chat that was a collection and by the
way we need to actually include that in
our prompt I think so let's say you are
an alien named we're not using a format
string here
I don't think format strings of work
before my strings work with that can we
say hero like that I've actually never
done a format string on a triple quoted
string yep it works works great okay
cool
easy but this is a little bit messed up
let me just fix this real quick so now
we have actually used that name we
weren't using the name before but I
think that's a very important feature of
our of our code
so anyway Andre what we need from you is
we need basically we have four options
we're currently working on the attack
the humans option we're in our attack PI
we have basically three main options the
beginning to vaporize the humans
communicate with the humans or erase
their memories and move to new area if
you communicate with the humans and then
persuade them to board your ship you win
the game so what we need is let's finish
the talk to the humans options we need
another option for talking to the
farmers we need so currently we have
persuade the peanut farmers to board the
ship as one option we need one more and
then one more and then ideally they
should both be losses but we can maybe
make another win condition if we want to
but essentially we just need more
avenues humans already being vaporized
so Andre what suggestions do you have
for how we can talk to the farmers Oh x9
low format strings yes very awesome
feature
Python normally I use them in non triple
strings but you can just put an F in
front of the it looks like any string
and then you can just like in JavaScript
surround your variable with curly
brackets and then put the variable
inside of it and then it's good take me
to your leader scenario then they get
the pitchfork since game over
you think the pitchforks are gonna
destroy the aliens I guess maybe we
could weaken humour eyes it we could we
can make it funny so we could say you
demand to speak to their leader right so
we say talk to farmers leader is equal
to a triple string like this or we say
you demand to speak to the farmers
leader enraged at your insolence and
rage that your brazen request the
farmers gather their nearby pitchforks
surround you and disable your spaceship
with their unanticipated technology you
lose what make we can make it more
eloquent we'll say your civilization
will have to seek out peanut butter
another millennium something like that
right and so now what we can do is we
can say if the option is equal to one
print talk to farmers leader and now
we'll run the game
well we'll attack the humans we will try
to communicate to the humans and they
will demand to speak to their leader you
demand to speak to the farmers leader
and raise any brazen request the farmers
guy with a nearby pitchforks aren't even
disabled your spaceship with their
unintuitive technology the aliens didn't
know about pitchforks and couldn't
possibly have a way to defend against
them so osq our generator nice I am new
to cs50 what is your name says whitson
my name is Colton Ogden I am a
technologist of Harvard and work with
cs50 full-time and sort of co-host and
lead these streams where we take
concepts that we would
have time to talk about necessarily in
cs50 and we explore them a little bit
more in detail either through completely
from scratch implementations of projects
or maybe discussing a technology more
high level or a library more high level
and sort of dive into it without maybe
being focused on a project so today this
is a little bit more lighthearted a more
stream oriented chat oriented stream or
we take suggestions and we're seeing
what we can do and it's kind of really
basic Python we're just basically using
if statements and not really getting
that crazy with it but I think it's a
fun little way to explore interactive
like chat working with the project so
cool so talk to farmers options we need
one more option who wants to suggest a
third option for the for our farmers
branch of this sequence of the narrative
and while we while I wait for that I can
maybe get an ASCII art generator for our
for our title it was what was it called
again it was it was an amazing title
aliens intergalactic Marvel it's pretty
massive
so we'll say smush go do that it doesn't
work
oh whoa okay not testing a bunch of them
we need small we need small text cuz
it's way too big that's pretty small
I like how I like how this is this looks
it's kind of like sci-fi looking almost
so we'll do that I'll make my prompt a
little bit larger and we'll see if this
we'll see if this works let's print it
let's do title is equal to boom boom
bring this down here that is massive
okay so it's probably not gonna fit but
we'll test it out
oof that looks nasty okay if I shrink it
down will it fit
yeah it's not quite fitting I need a
smaller I need a smaller font it's so
hard it's such a long title is the
problem this one's kind of condensed
let's try it
okay is this gonna work did I screw that
up maybe it's better but it's why is it
screwed up oh because this is like that
did I miss the first line oh I think I
missed the first line oh I did miss the
first line silly me
let's copy that bring that back over
here and let's replace this like that
there we go and then we don't need these
extra lines perfect okay so let's save
it I'm gonna rerun it see if this works
cool now I can zoom back in beautiful
have it like alien intergalactic marvel
looks pretty great right this is a look
this looks more like a legitimate text
adventure that you might see in a
something that might have been released
as an actual game it's a little bit more
artistic let's see what the options are
Oh Bella Cure's had an option okay Bella
if you could remind me I apologize I it
was way back in the chat I mean I'm
gonna scroll back and see if I can find
it let me see I think it's beyond where
the chat was but if you get her if you
could repay stood for me Bella we can
use it I think I might have I might even
put it did I put it in here in the
I don't remember I apologize as soon as
you're as soon as you paste it back in I
will remember it she already wrote it
again look up I must have missed it Oh
punch the farmer in his face since this
is the grating on your planet I love
that and then what does that lead to
what does that lead to punch the farmer
in his face since that's your planetary
greeting I like it so this would be a
talk to farmers punch so if I if I were
being extra silly I would say maybe that
the farmer was actually John Cena and
when he punched him he wrestled you and
just destroyed you and eliminated you
and that's a loose condition but true
Kinesis saying the farmers try to fight
you but your advanced muscles destroy
them all hmm interesting
leader was not impressed so do we want
to make this a loose condition or a win
condition leader says they will make
earth grade again by capturing one of us
and run weird experiments on us and
extract some info because the leader got
angry
the farmer you punched is impressed and
takes you in as a peanut puncher okay
all right
the farmer is impressed with your punch
and takes you in as a peanut puncher
does this have a where does this lead us
what's what's the what's the I guess is
this split off again or does this have a
winning or losing condition you forget
to contact your race because something
Oh does it so do we just forever remain
a peanut farmer and never get back to
earth
okay maybe oh yeah maybe something like
that you fall in love with the art of
peanut punching and forget all about
your alien brethren dooming them to a
life devoid of peanuts okay
you make friends with a child and fly
over the moon on a bicycle says Ashley
oh wow what a what a subtle reference
all right II need to get my work done I
thought I could just listen to this chat
passively but you're just too darn
entertaining well I take that as a
compliment thank you very much exnihilo
I appreciate it
hope to see you again in the near future
definitely tune in hopefully we can
start doing more streams that are
community oriented like this this is a
good time I'm a fan become the for a
feature playing with the earthling I do
like Ashley's suggestion on how to
integrate ET into this but we have to
find the right way to do it so does that
does that maybe lead in from the like
the dog branch to become the free
creature playing with the earthling like
maybe go up to the go up to the
earthling and ask to phone home maybe
and then that leads into flying over the
moon and crashing the bicycle and dying
or something that could be a potential a
potential Avenue Avenue
Cerreta hello he's still a farm leader
right we got into a farm CIA leader make
the dog trace become the creature choice
and you assimilate all animals on earth
and become the
predator ooh interesting local and host
farmers got a talent to persuade the
alien to get away from the planet Earth
so they figure out all farmers to say
something that alien the plan is to say
a story each person but story is all
quite copy of each other but not really
they have just changed the sequence of
words and endings if the alien read the
word it'd be person should figure that
out
aliens got a talent to persuade the
aliens to get away from planet Earth
sorry parsing that sentence farmers have
a talent to persuade the alien I
apologize if I'm misunderstanding what
you're writing
oh I see so the basically the farmers
are all getting together unionizing to
dissuade the aliens from landing on
earth that's possible too yeah so I'm
gonna Tory fireworks and all aliens run
away thinking it's full haunted warfare
I left our character stays behind so I
think in this example we basically gone
to earth solo as a as an alien in the
UFO but I don't think it's been
specifically I don't think it's been
specify excuse me I don't think that
that has been quite written out whether
we are a single alien or whether we are
a like a whole group of aliens if a
whole civilization is coming
I mean shaped you to a dog you are
attempted to chase cats when you see
them could that be a limitation oh that
could be potential well what we did was
we we basically made the dog victory a
victory made it a like a victory
condition so when you turn to a dog you
basically eat all the peanut butter on
earth but you don't digest it or you
don't digest that you just store it and
bring it back to your alien overlords so
I don't know if we can kind of come back
from that too much I think there's
another op we have more options here
with like if we decide to become a dog
great because we can decide to become
the free creature which is a dog or we
can decide to do two other things
instead which was one was approached the
earthling and asked to phone home and so
what we could do we could do that and
then that was I think a Sling suggestion
and then she also gave the Claire the
go-ahead on making it like maybe what we
do is we say okay so let's say become et
ending we do as we say you approach the
earthling and and crudely ask if you can
phone home the human awkwardly obliges
by transporting you in his bike basket
with your alien powers and lack of
patience you imbue the bicycle with
levitation and fly
across the moon however you your
impatience leads to boredom and then
fatigue causing you to causing you to
[Music]
forget you're levitating bringing the
bike crashing back to earth and wiping
both of you out in gruesome form so very
very rosy verbage to basically say that
you crashed in a bicycle and died and
that's your et ending so that would be
option two for the dog choice so that
would be what is that farm choices one
what is that is that communicate with
humans did we have that in here I don't
think we had that in here right
that was the oh that was the erase the
humans memories and moved to a new area
so that's if the option is three else
dog option so we say dog option is equal
to int of the input of the well one was
it become dog choice become dog choice
and then what we say is if dog option is
equal to one that'll be that'll be
becoming the dog right so in that case
we can just print was it become dog
victory Elif dog option is equal to two
and this is I think what we just did
which was the approach the earthling and
asked to phone home so the ET option so
we'll say print become ET ending and
then we need another option
okay bittersweet ending would be you
transforming into a dog completely
because you can't shape-shift for an
extended period of time and forgot about
it you lost all your memories and grew
fond of humans and realized they're
actually nice thing you get peanut
treats every day
hmm and this went from marvel to DC real
quick
that's ganache well that escalated
become alien ending oh did I did I say
that does this become ET ending right
right here but become the free creature
playing with the earthling I'm trying to
figure out if you want to have this side
option of becoming a dog permanently
it's kind of hard because we've already
cemented the ending and we also want to
get to the other branches we have three
other branches we want to experiment
with and we might not fill out the whole
game right this is more of an
illustration this isn't necessarily to
make the entire thing but you know
hacker official did you ever create a
game in Python if yes which game a long
time ago I experimented with Pi I was at
PI GL it was either PI geo or another
Python OpenGL library and PI game and
also the bindings for Python for libgdx
which is what is that nothing too crazy
I usually make games in Lua and love 2d
especially on stream I don't do a lot of
Python game programming the Python
programming I usually do is for work and
is usually more systems oriented and
like automation oriented not necessarily
orient it towards gaming become alien
ending okay I do like that I do like
sandwiches bittersweet ending I think
it's a great ending but I don't know how
to integrate it yet
I'm Cloppenburg Martin good to see you
we've been programming a text adventure
for a long time and so I'm gonna call on
you actually to give us the third option
here when we become when we have the
option to sort of become a dog or we see
a furry creature in the distance that is
playing with an earthling we want a
third option for what we as an alien are
going to do in that scenario so the
first one is that we become that
Kreacher we sort of shape-shift into it
and when we do that we end up becoming a
dog getting to access all the peanut
butter in the world eat it and bring it
to our alien leader the second option is
that we push the earthling ask the phone
home we get transported in a bike but we
fly over the moon but we crash and die
because we're too impatient so we need a
third ending so sandwiches ending we
could get two after the first option
yeah that's possible it's just hard
because in the first option we're
already becoming the dog so it doesn't
doesn't split super cleanly that's the
only problem that I have final option
could be just to explore or look around
then the print would be because you are
small you are in awe of the big machine
that it's cultivating the land and get
crushed attack the creature the creature
it just plays with you instead
interesting I like that we're gonna get
Martin involved though Martin hasn't
contributed anything to the to the to
the adventure yet so Martin I want to
hear your suggestions your thoughts what
you want to have happen sin Captain
America I saw Captain America a long
time ago would you mind to do to a
dredge ax I don't think a regex works in
this context we did a reg Xtreme David
and I did one a long time ago if you
want to check that out it should be on
to YouTube youtube.com slash cs50
if you're curious regular expressions
but I don't think in this context since
we're doing anything fancy with parsing
strings I think we need need to really
use reg X's here so Martin the world is
waiting on you what's gonna be the net
what's gonna be the third option where
are we going scan for life-forms is cool
this is tux man
and if Martin if it's if it's a too much
too soon don't don't hesitate to say you
want to pass and you can always suggest
stuff later what you do a natural
language processing stream anytime soon
we don't have one necessarily set up yet
but I can speak to some people that are
into that and see if they might want to
do one
oh he's typing on his phone okay got it
if he's sleeping on his phone maybe he
might be typing something we need some
product placement here let's see our
alien can call to McDonald's an order of
Big Macs for ger
for furry yeah that's potentially a
thing we could definitely do that and
can call to McDonald's order a Big Mac
but where and what's the what's the
what's the plan use regex and break down
the entire planet Earth because you
mistyped the condition it's a very
advanced regular expression technology
so user regex to parse what you see
using use a I can't type use a regex to
parse what you see when y think small
aliens get Tesla car we all get Tesla's
hack the test like at the Tesla right so
we'll say reg X ending using your new
reg X technology if Martin is writing a
suggestion Martin if you are writing a
suggestion I will I will use your
suggestion but it's unclear if you I
didn't know if you met you were typing
on your phone because you were busy or
whether you're typing a suggestion on
your phone so well we'll use this maybe
we use the regex
in a different context so Martin gets
option three here but we say maybe maybe
they get a regex
somewhere else up here so have we done
anything related to vaporizing the
humans what will do that will say that
will say vaporize humans
alien helps solve the world's issues my
infiltration has a dog so we the problem
is that we already have the we already
have an option where we become the dog
and that leads directly to a victory so
there isn't really an option at that
point so I'm thinking of something if we
could get something completely different
from becoming a dog or approaching the
earthling like something completely like
someone said scanning the local
life-forms I like that I like that idea
and to meet Tamara's credit he's coming
in at a very sort of sort of inopportune
time in the midst of the adventure so I
don't blame him for sort of not knowing
the context completely but basically
we're an alien we have the we seen we
see an earthling playing with a free
creature which is a dog we can become
the free creature we can approach the
human to ask the phone home or something
completely different and that's sort of
where you come in Martin if you want to
suggest an idea we will use Andres
suggestion of vaporizing the humans with
a regex will do that so we'll say using
your latest and regex technology you
create a broken reg hex that breaks down
the entire planet of Earth ruining your
chances oh it's it will say including
their supply of peanut butter ruining
your mission entirely right so there we
go
so we'll say if option one in the farm
field options which is down here so
we'll say print and will say that what
was this this was vaporized humans
vaporize humans boom just like that and
so we're pretty close to finishing this
I think oh we do have three oh no we
have this this option left
and then we communicate it with the
humans erase the memories and then
vaporize them with the regex
which is pretty impressive can use the
ending I've suggested as a secret in
like if you used x 4 as an option would
not really show option for sandwich can
you repeat your ending for me I
apologize there's a lot of options
coming
here I don't have all of them at the top
of my memory unfortunately and I
apologize if I've missed any messages in
the chat I've I've certainly tried to to
keep on top of everything but we do want
to sorry I got distracted I don't know
on top of everything but I want to make
sure everything gets it gets included
bittersweet dog ending shoot I don't
remember what it was exactly I didn't
type it out let me see if it's up here
sandwich oh there it is oh I see okay
you get peanut reats everyday I like it
okay yep we'll do that so let me type
that in here so we'll make option number
four so let's see that would be up not
here where would it be it would be here
actually four they won't be displayed
right but if they type in for the secret
option is gonna be where is it
one two this become dog choice there's
one doctor just to LF dog option is
three we're gonna pass and then L if dog
option is four so this is a secret
choice secret choice we'll say print
secret a dog ending and then if we go up
here where the where's the dog stuff
right here secret to hug endings equal
to
you transform completely into the dog
forgetting that you can't shape-shift
for an extended period of time and you
forget all about your mission you lose
all your memories and grow fond of
humans and realize that they are
actually quite nice to top it off you
get peanuts treats every day cool so
there's a secret ending that's how you
do a secret ending don't display it in
the prompt but still have a condition
that checks for the number four and if
you type in the number four and this is
secret ending then you get the secret
ending secret happy ending I think it's
kind of a bittersweet ending because you
you sort of still lose the mission but
you it's ever everything sort of nice
it's still happy so feels good right so
everything's good
so cool did use my suggestion of whoop
streak oh I'm losing track of
everybody's suggestions oh man I mean
this is a good problem to have I'm so
happy that so many people are into the
chat I'm gonna have to scroll I'm just
gonna back up to see if I see your
suggestion whoops trick
Nate if you can if you can just repeat
what it was I would be more than happy
to try and include it SL CH 0 0 0 says
good stream thank you appreciate it
oh you have now race team as memories
you moved to new area and find yourself
in the sand oh I see the memory erase
path let's see that was the that was
here that was upon landing ok hmm
oh we could what we could do is we could
say fly to a new location that's perfect
so we'll say fly excuse me to a new
location so in your location and that
new location is gonna be after erasing
the humans memories you decide to fly to
a second new location you find yourself
in the sand and seawater waving around
and see in earthling playing with the
sand you approach her and ask for the
nearest peanutbutter store source she
happily gives you a peanut butter jar
full of energy you walk out of the beach
unsure what to do do next do you one two
three so this is where we need some more
options new location cannot be found
until you solve a puzzle problem does
that mcduck Lloyd use for the next five
millennia trying to solve the puzzle
yeah ouch
call McDonald's order a Big Mac trayvis
poison my Big Mac earthling starts
crying some options to calm down the
earth thing that sounds kind of dark a
little bit a little dark go back and
build a sink it alright well go back go
back and build a sand castle okay says
from East London or being the story I
asked alien air she won't do this so
adding a setting if he doesn't click
don't ask me again oh I see yeah that
would be possible they'd have to
refactor a little bit of it to ask
so we might not incorporate it but that
would be a good idea if you were to make
a momentous choice so will ya
there'll be something to potentially add
to it you try to communicate and slowly
fall in love yeah it's probably yeah
probably not
maybe not it's probably yeah it's
probably a little girl well we'll make
it Chuck Norris oh wow
making check-ins oh man well I can't I
can't just defile Nate's I can't defile
Nate's sort of story like that but we
can add a sub thread for Chuck Chuck
Norris if we want to if I want to meme
it up and add Chuck Norris absolutely
then you should give small hints about
the secret ending maybe
[Music]
what do you do amongst sub amongst can't
type supposedly three choices how about
that that's our kind of a not-so-subtle
hint but you know it's a secret so
secret as you're walking along the beach
you see a man run faster than light okay
sandcastle you decide to construct a
sandcastle while doing so you see a man
run across the beach you see a man
running faster than light across the
beach what do you do this is such an
entry
you never know what the adventure is
gonna look like when you do something
like this and that's exciting it turns
out that you're actually spongebob says
adamantine fascinating thread maybe we
could do that by maybe we can do that as
part of going to the water right so we
say one option should be like Oh trip
him with a stick I love it trip him with
a stick
ignore ignore the man running faster
than light and step into the water and
then maybe step into water could be as
soon as you set foot into the water you
realize a long suppressed fact about
yourself you're actually spongebob you
commit to a life under the sea living in
your pineapple and forget all about
peanut butters existence
so kudos to Adam for that amazing side
thread there so now we have a spongebob
side thread as Lee says ask the girl why
they like peanut butter so much okay
interesting ask like curl why they like
peanut butter so much it's a peanut
butter girl and then the she says she
gives you a peanut oh right you ask the
girl why she loves peanut butter so much
but I have to the chat is popping so
much that I can't I have to keep
scrolling back up shape-shifting to
David Hasselhoff man how many memes are
we gonna are we gonna cover today she
gives you a peanut butter and jelly
sandwich
you understand that humans had it right
all along and decide to eat the peanut
butter instead of using it for
intergalactic travel YUM the young seals
it and so we have so many threads here
so okay so this is fly to new location
right okay that's the becoming the dog
choice so this would be flying to new
location so we say new location is gonna
be equal to int of the input of where is
this new location okay and then if new
location is going to be is one so we're
basically going depth-first in this in
this adventure we're just covering
basically one long thread of options
rather than sort of covering everything
I guess breadth-first but that's okay
this is this is interesting so if the
new location is equal to one so we
decided one was going to be the only
option we implemented which was going
back to build a sandcastle so we're
gonna do that
we'll say sandcastles going to be equal
to int
of the input of sandcastle and then if
sandcastle is equal to one what did we
decide we decided we're sand castle so
trip Chuck Norris with a stick that was
option one right so trip Chuck Norris
with a stick we haven't implemented that
yet Elif sand castle is equal to 2 which
was ignore the man okay step in the
waters that was a spongebob ending so
spongebob ending
so we'll say print spongebob wait what
did I
how would it title in step in a water as
house step into water so we'll say step
into water Elif Sam councils equal to 3
which is ask the girl why did like kid
butter so much that was a peanut butter
girl ending so we'll print peanut butter
girl ending so perfect so now we can
actually can test this so if I go back
into my prompt here let's rerun this we
have aliens intergalactic Marvel super
awesome I'm going to decide to attack
the humans we're going to erase the
humans memories move to new area we're
gonna fly at a new location when we have
one options we're go back and build a
sandcastle we see the man running faster
the light across the beach we are going
to let's test we're gonna ignore them
and step into the water soon as you set
foot in the water you realize the long
suppress fact about yourself you're
actually spongebob so we've been an
alien this whole time and we finally
found our pineapple under the sea again
I'm going to rerun it we're going to
attack the humans we're going to erase
them move to new area fly to the
location back bill Sam Council we're
gonna ask to go why they like peanut
butter so much and then we get a sort of
an epiphany if you will about peanut
butter and peanut butter jelly
sandwiches and we decide to eat the
peanut butter instead of using it for
intergalactic travel so amazing ending
now we are missing the thread about
tripping Chuck Norris with a stick we
probably want to make that a defeat
condition I feel because these two are
both victories sort of well actually
we know you could argue that these are
both actually losses well it's it's kind
of up to the reader to decide on whether
there were losses or victories right but
I would say maybe technically speaking
their losses though they feel like
victories but I'll leave it up to the
audience what do we want to do with
tripping people with a jar or tripping
Chuck Norris with a stick let's see what
let's see what people have ideas for
that no on butter's way what unscrew
canoes sandcastle-building move the
third option of sandcastle up to the new
location third option of sandcastle oh I
see oh you're right
I'm sorry okay that's fine we can fix
that so that was here and then we put
that into here right we say LF new
location is equal to two and then we
just print that like that and like that
so I need to make option number two of
new location actually the asteroid like
peanut butter so much consider that done
boom let's test it make sure it works
oops I screwed something up line 150
what did I screw up
oh whoops
think that should be good okay so we're
going to attack the humans we're going
to erase the memories Moodle area fly to
another area ask the girl with like
peanut butter so much and then we still
get the same thread so that's all great
sorry about that I misinterpreted the
flow of the story
spongebob turns out to be one of the
seahorse that looks like a plant so it
turns he's actually not spongebob I'll
leave you sea dragon oh man this could
just get infinitely deep the king of the
ocean confronted you and you were sent
back to your home planet can we
randomize the locations asks Andre can
we randomize the locations hmm I don't
know well at this point it might be a
little bit troublesome we could do we
could do this we could have a pool of
things and have a sub threat of that the
way we've coded it now I don't think
that that's super feasible for us to
refactor everything and it'll be a
little bit dry I think to do that so
we'll just continue I think the way that
we're doing it but that's a greater
that's an awesome idea for a more
interesting story just make it different
each time like you appear in a new
location you have to make the you have
to make the choices sort of given
different scenarios and I think that's
that's fascinating no Eliza will just be
recorded missed most of the stream so
far was excited to see how this worked
yeah absolutely this is being recorded
this is going to be published to YouTube
should be up by tomorrow so youtube.com
slash cs50 we have a cs50 live cs50 on
Twitch playlist that you can definitely
check the videos out on and show us the
David for joining in the chat thanks
David for tuning in just an idea from
the chats in Sam's a man Oh does end man
did you say something oh man there is so
much chat this is amazing lovin it
really love it
the beginning title looks sick doesn't
it yeah we use data we used an ASCII art
generator for it I thought it was super
cool I had to
experiment with it a bit but there's
basically asking our generators they can
go on like this is Pat or JK comm and
they have a like there's all these
different ones and you can just copy and
paste them after you've written in like
the text that you wanted to write here
so pretty cool it adds a little as
a little touch of Polish to the game and
people want David a provide a suggestion
for the chat David may or may not be
present still or may be occupied with
stuff but if he is in the chat and he
wants to provide a suggestion for the
adventure that would be an awesome
whites who to carry things on Oh
Andres got a suggestion after Chuck
Norris the stick flies off this is good
because we do need to close off the
Chuck Norris thread so let's go over to
I think it was up here the stick where
is it new location tripping with a stick
right so we'll say trip stick after
Chuck Norris the stick flies off and
it's a forgotten cassette player from
the late 1980s you're the words never
gonna give you up never gonna let you
down and we're gonna turn around and
desert you and you realize that humanity
is really wasn't is really worthy of
keeping peanut butter got you okay so
let's do that so after Chuck Norris
after Chuck weight will say after Chuck
Norris trips on the stick it flies away
and hits a forgotten cassette player
from the late 1980s I didn't anticipate
a rick roll in this text adventure but
the fact that we got one in just makes
it clear that this is a cs50 related
stream you hear the words never gonna
give you up never gonna let you down
never gonna I gonna turn around and
desert you never gonna turn around and
desert you and you realize that humanity
really is worth is worthy of keeping
peanut butter a rick roll in a text
adventure who thought who would have
thought it was possible well we made it
happen on stream today so this is
historic so keep this keep this in mind
for the rest of your life this was a
historic event that took place today
this is on sandcastle option one so
right this is that that's this one so we
say print trip stick boom fantastic
stuff we can rerun it we can test it I'm
actually not even sure if we're gonna
have time to get to the other options
the peanut butter jar thread the humans
thread are the becoming an undercover
earthling there's just so much this text
adventure could just become so large but
it's fun it's good stuff so we'll say
let's rerun it and then we're going to
attack the humans erase the memories
flight in location go back to build a
sandcastle trip Chuck Norris the stick
and then get rickrolled this would be
cool too if we had ASCII art of rick
astley right here that would be that
would be something else I don't know if
that exception that exists but that that
would be pretty pretty next level maybe
you get beaten by a Jack bruiser because
he's having the longest day of his life
up for 24 hours straight that's a long
day jack bruiser is that a reference 24
Jack Bauer or is that something else
jack bruiser Ken Colden automate the
opening of a URL probably at the end of
that you also understand the Chuck
Norris didn't trip he hit the stick to
trick to he hit the stick to rickroll
you yeah I think the name was Jack Bauer
isn't it and maybe if Jack bruiser but
it's been it's been a long time I
thought it was Jack Bauer it's Kiefer
Sutherland right Richie bird is that a
is that a rick roll ascii art i'll let
the people in the chat look at it i
don't have the chat up on this laptop
but why don't we why don't we spend a
couple minutes instead of focusing too
much because this the attack threat has
gotten very large let's do the peanut
butter jar thread because it's like that
was a very interesting other way of sort
of taking this adventure right so let's
have so in the attack thing we have the
very beginning which was the form field
options so i have peanut butter jar
option
so peanut butter jar options so I'll
write a little bit and then maybe we can
have let's see did people do people
actually no we're gonna get people in
the chat I want people in chat to write
the prompt for the peanut butter jar
thread the peanut butter jar option the
main option so somebody right give me a
sentence or two to sort of provide the
exposition for this sub threat of the
adventure so this is remember the part
of the adventure where we're going to do
a where we're going to essentially
mutate transmogrify ourselves into a
peanut butter jar and however that's
going to end up letting us complete our
mission we're gonna find out but we'll
see how it works if you do a pose to do
a live stream how to create a website
using pythons this hacker official again
we did a flask stream in the past with
Kareem so you can check that one out we
don't have any concrete plans in the
near future to do a website Python
stream but yeah we'll see we'll see what
we can come up with hope Nate says it's
been two hours already yeah it's been a
long it's been smelling excuse me a long
time but it's felt like not that much
time that was part of the twist that his
name was Jack bruiser Adam that's
excellent to us you become a peanut jar
belonging to a zealous housewife you
slowly make her regard you as God and
she feeds you and put your whole species
twice over it's interesting I would say
it's a little bit it gets us a little
bit to the point too quickly we need to
start off to have options so we need to
be able to take this in a few directions
we can't just immediately have the
victory right this is this is one of the
main sub threads so we need to branch
off into a few other and do a few other
threads you decided to change the humans
mind by tasting terrible okay so in an
effort to
infiltrate planet Earth in the most
clandestine way possible you decide to
transform yourself into a sentient
peanut butter jar what do you do from
here so we can say modify your flavor
profile to taste absolutely horrendous
so that would be one option so taste
terrible is gonna be equal to one thing
so we need to know we need to know
exactly where this takes us right a
sentient peanut butter jar yes exactly
we have to know what's going on we have
to we have to take this somewhere why is
YouTube 40 seconds delayed I'm not sure
Kenny's I would go on twitch and see if
that's any better YouTube and Facebook
tend to be a bit slower then twitch
twitches latency is really good
generally I understand that for some
folks it doesn't encode at a lower frame
rate or a lower resolution and can
therefore buffer a bit too much but if
you can join on twitch for something
like this definitely do so because the
latency here actually makes sense join
the circus as the most sent gianna put a
char in the world okay
I love it join the circus as the most
singeing peanut butter jar in the world
I I couldn't come up with this on my own
this is a narrative that's only possible
with the power of sort of the internet
helping me the chat being the proxy for
my narrative abilities otherwise this
would be I would not be coming up with
ideas like this I love it though this is
a great month this is a great time this
is fun so we have the flavor profile
option to taste horrible and then we
have the circus option so we'll say
we'll call this one joint circus
but what happens here we have to yeah
there is there should be a wind
condition with there are usually
multiple wind conditions and multiple
loss conditions that's really the that's
really the goal flavor profile but as
Lisi the thing is we we can't just make
the first one a win I don't think I
think we need to make our flavor profile
bad and then we need to write some
description about it at least I mean we
could do that we can make our we can
make this a win actually but we need
something we need some we need some
description we need to make this we need
to make this fancy we need to know why
this is a wind condition how does this
make the aliens how do we get all the
peanut butter this way is because humans
just hate peanut butter after tasting us
because we're only one alien or only one
jar you get the job at Microsoft twitch
is less stable but better in latency it
works fine four minutes and then breaks
down kind of sucks I'm sorry
Kenny's that sounds bad as the humans
realize this peanut butter has turned ok
I like that as the humans who realize
this peanut butter has turned they
scramble to create fresh peanut butter
as they do you learn the recipe to the
receipt the recipe to create as much
peanut butter as we need that's a
victory very nice taste terrible is a
victory so cool so we'll say jar options
is going to be equal to jar options
going to be equal to int on the input of
peanut butter jar options and then
whoops
if jar option is equal to 1 which is the
tasting terrible option we will print
tastes terrible
and we went so now we can test this
we'll go back to here and instead of
choosing attack the humans for the first
time we're going to choose become a
peanut butter jar and then we're gonna
say in an effort to image a plan
earth and little clandestine way
possible blah blah blah we're gonna
modifier flavor for our flavor profile
taste absolutely horrendous
and then we win therefore so awesome
ecological message about renewable
energy sponsored by Ted Turner I do not
get that I apologize I flew it flies
over my head I apologize tried to talk
to the jelly jar next he turns out it's
a cursed woman in Utah
why are we assuming that the why are we
assuming the alien is male it could be
it could be a female alien right but
well we get we can we can maybe for the
sake of our narrative will assume that
aliens male zog a I guess kind of sounds
like a male name in the in the context
of Eastern European names well we'll do
that well we'll say that that's I
actually really like that idea I think
that's interesting
so we'll say look look at the jelly jar
beside you
so we'll say jelly jar and then as we
said you tried to talk to the jelly jar
beside you turns out that it's a cursed
woman and the two of you fall in love
you decide to abandon your peanut butter
mission and the name of love beautiful
beautiful ending love it Zeca gay is
obviously a male name and aliens can I
ask how would you handle updating the
content of the terminal instead of
adding it to adding to it without using
any third-party library like end curses
I tried to print like 50 new lines to
clear but the motion looks Jaggi I
haven't done this in a long time usually
people do say use end curses and I think
Python comes with and curses first party
I don't think it's third party anymore
if I'm not mistaken Python curses maybe
not
yeah I think it just comes with curses
by default so you don't have to
necessarily feel too bad about using
curses I don't do a lot of text gaming
in Python I would usually use the
library though one time I tried to do a
Python roguelike I used limp T Cod which
is a roguelike library and I think they
wrapped in curses or curses or something
so I would say maybe use curses since
its first party or look up like Google
smoothly clear terminal Python and then
like brow Stack Overflow for example and
see they have this I'm not entirely sure
what that is but people are saying it's
using an ASCII escape character which
I'm guessing it probably is a clear
command but I'm not entirely sure and it
looks like there are like you can also
call the OS clear option as well
Oh Bella do I have a typo I apologize
let's see what do I have that jelly jar
try to talk to the jelly bar the jelly
jar besides you appreciate that you
create a perfect peanut burger hamburger
the president finds out about these
great hamburgers and it's nice to eat
one he takes one big bite and shouts
what a great hamburger little did he
know that you were now able to gain
control of his body what do you see
there is this this at the nuclear
football so they're gonna destroy the
earth because that's it that's
fascinating the well we'll do it as
option number four will say option
number four create the ultimate peanut
butter hamburger I really want a peanut
butter and jelly sandwich right now I
all of this talking about it I really
want a peanut butter and jelly sandwich
right now so we'll say peanut butter
burger it's equal to this and then we'll
do it's the ultimate peanut butter
hamburger so you create the old team hit
peanut peanut burger hamburger the
president finds out about these great
hamburgers and decides eat one
he takes one big bite whoops one big
bite and shouts what what a great
hamburger
apparently he loses his ability to speak
as part of this process little did he
know that you were now able to gain
control of his body what do you see
there is that the nuclear football will
consider that a loss condition pasta
possibly it will say L if jar option is
equal to pass L if jar option is equal
to three pass LF jar option is equal to
four pass and then will say print so
we'll say print jelly jar and then we'll
say prints this one is peanut butter
burger so these are I would say these
are both lost conditions at least they
feel like lost conditions the only one
that's kind of up in the air as not a
clear loss condition
oh I guess so this one's a wind
condition but the option number to the
circus condition is is up in the air so
I think we should follow this thread a
little bit and see where the circus
should take us and then probably pretty
soon we'll end up I mean I think at this
point we've kind of covered most of how
this works and we've had a good amount
of time I've already gone two hours over
having the community aspect to this and
seeing what a text adventure looks like
how its implemented in a admittedly
crude in naive way but it's been fun
this is a great experiment and I had a
lot of enjoyment doing this I would love
to keep doing things like this I think
there are a lot of ways we can
end up exploring this idea a little bit
more I guess a little bit more
creatively and more dynamically so we'll
see what we can come up with hamburger
is a word from one of the current
presence tweets oh I get it
okay I see I see makes sense I messed
that up oh you're right the president I
think technically the president doesn't
he be capitalized you're right
not that I care that much I'll be honest
hexa tester first time we're here hello
hexa tester you're here right as we get
somewhat close to the ending but this
was an awesome experiment basically what
we did is we did a interactive text
adventure game and if you want hexa
tester if you want to provide an idea so
we have basically we're in a situation
where we have an alien game basically
we're an alien our goal is to get all
the peanut butter on earth or some way
of getting as much peanut butter as is
on earth and we have this side thread
where we decide to become a peanut
butter jar a sentient peanut butter jar
and so option number two is that we
joined the circus as the most sentient
peanut butter jar in the world so if you
would like to tell us how this thread
where this thread guides us hexa tester
we can maybe use this to as one of the
last things we use to wrap up and also
whips trick I do see your suggestion
I'll see if we can maybe find a way to
integrate that as well you end up in a
cs50 lecture end up being in the
algorithm demo you then understand that
cs50 is better than any peanut butter
you film the lecture since your
overlords who then you see us to create
a new power source I love that I love
that where that could be part of the
infiltrate as a human yeah that would be
great actually so we can maybe have that
here
[Music]
which is simply go to main dot PI and
then where is it it's become an
undercover earthling so we'll say
you decide to go undercover on planet
earth as a human where do you decide to
go first and then we have a few options
so Nate's would probably fall under
Harvard University as being option
number one and then we would say Harvard
option being equal to and then we say
you end up in a cs50 lecture and end up
being in the algorithms demo you then
understand that cs50 is better than any
peanut-butter you film the lecture and
send it to your overlords by the way
they don't have you don't have to film
the lecture we have all the lectures on
youtube.com/scishow cs50 if you're
paying attention alien overlords no need
to film who then use CS to create a new
power source so I like that I like the
creativity of we've changed direction
we've sort of still won we've solved a
problem the problem of the power source
but we no longer need peanut butter we
use the power of CS so pretty beautiful
honestly so we say here under cover
options gonna be equal to the int
the input of Harvard or of rather under
cover options and then we say if under
cover option is equal to one we will
print Harvard option that's the wind
conditioner and so somebody asked if we
could run it absolutely I'm gonna clear
my terminal and then run it and this is
what the text adventure looks like
aliens intergalactic Marvel and let's
become an undercover earthling real
quick so you decide to go undercover on
planet earth as a human where do you
decide to go first we'll go to Harvard
University
you've end up in a cs50 lecture and end
up being in the algorithms demo you'd
then understand that cs50 is better than
any peanut-butter you film the lecture
send it to your overlords within UCS
to create a new power source so
beautiful-beautiful suggestion then
hexxus hester didn't provide a princeton
to be a lost condition that would be
amazing
that would be amazing but I think Yale
would be the proper loss condition
maybe we won't go there in this stream
but you know a more tasteless individual
than myself might do something like that
we need a maybe for the last thing that
we have we will go back to our peanut
butter jar sort of path and then figure
out what happens when we join the circus
where where should we go what's gonna
what are we gonna do when we join the
circus so we have a set of options does
that lead to a loss to a victory we'll
close that out and then Adam fighter
since you suggested the running thing
why don't you suggest the the path what
happens you see us to create the matrix
he's the humans as batteries well play
it says one a ugh yeah there we go
that's true that could be a that could
be a path as well this adventure could
go on infinitely infinitely but this has
been great this is a lot of fun a lot of
energy today so much chat sorry lost in
the maze say that again I was bashing
Yael hex a tester and atom fighter one
ok so hexa tester I want you to give me
the what happens when we joined the
circus as the most sentient peanut
butter jar in the world I want you to
tell me what happens when during the
circus what's the what's the dialogue
that comes up and atom fighter what I
want you to do is I want you to tell me
what should happen as option what should
be option number two going undercover
and what should the result of that
option be so ii want both of you to give
me give me a suggestion we'll see
hopefully the latency isn't terrible
this has been an exercise in latency
testing more than anything else but it's
been tremendous fun and we've even got
to again we got to get we got rickrolled
in a text adventure who does that when
does that happen
I've never had I don't think that's ever
happened in history we did it we made it
happen
does Yale exist this was possibly the
most fun stream so far says Andre all
awesome thank you I'm glad that you
enjoyed it can we do a stream for this
for a game with graphics would take more
than one stream but could be so much fun
I would have to think about if you have
ideas on how that could work that would
be interesting to find a way to make
that happen but yes I would love to do
more community driven step I need a back
story I'm a method actor you're an alien
trying to hijack earth to find all the
Earth's peanut butter
it's a choose-your-own-adventure game we
need a / hexa tester hexa testers doing
the the circus but you're doing the
you're infiltrating earth as a human
you're trying to take the form of a
human instead of a peanut butter jar so
where do you decide to go as a human
undercover as an alien is it crunchy or
smooth peanut butter it is all forms of
peanut butter as he says agree with it
being the most fun stream I'm glad you
guys have so much fun this is great fun
for me too
we the chat was absolutely poppin today
it was like hard to keep track of make
an app with it using kitty module I
would have to look into that I'm not
sure if I'm not sure what that is or if
that would be a benefit to this stream
I'm sure that I'm sure that would help
to deploy I'm sure I'm guessing that's a
deployment way of making that work so
I'm not sure maybe that would be good
I'm not familiar with kitty
I think somebody brought it up in stream
one time and I didn't know what it was
dude I'm drawing a blank okay that's
fine Adam Fighter somebody else anybody
else want to want to fill in for Adam
fighter for the second option in the
human in disguise path and hexa tester
still waiting on you for the circus path
- oh for mobile I see you decide to go
to the circus and you see a sentient
peanut butter wait what
Oh oh wow that's meta that is
fascinating it's not I go to the circus
and you see a sentient peanut butter Wow
it's for everything we have mostly for
Android iOS absolutely having to recode
it for each app interesting got you I
guess that could be interesting for
folks on mobile we'll call this circus
hopefully I didn't already create a oh
that one we called join circus we'll
call this one visit circus run into
issues always global constants
potentially causing problems he decided
to go to the mall says now velji ah
interesting
you go to a peanut butter factory
logically speaking sister chuka nice
right logically this is the circus go to
the mall visit a peanut butter factory
logically we're gonna visit the circus
you see a peanut butter jar you see a
sentient peanut butter jar Performing
circus tracks what do you do and then we
could create more options here getting
back at Nick for yesterday's virus got a
lot oh I'm not supposed to read that you
had to go to the mall peanut butter
factor factory so this is good we can we
could keep going with this yeah there's
a lot there's a lot of potential options
here I think I think at this point we've
sort of gotten the idea of the of the
text adventure we've had fun this is
like a finite state machine yeah
essentially it is it is a legit finite
state machine and you could refactor
this out and modularize it and make it
more abstract to make classes that
represent a finite state machine and
write like a like sort of have a
a domain-specific language for a text
adventure and this is probably what
people have done people I think I've
actually written like xml style formats
for text adventure engines like this
that make it easier to quickly come up
with content but this is sort of the
flow of how a text adventure game as the
peanutbutter you end up in Nick Wong's
house spill on his laptop avenging
colton dog doesn't love it I love it
it's 2:30 now it's been two and a half
hours it's been a good length of a
stream we've covered the gist of how to
get Python to work for a simple text
adventure we even introduced ASCII art
and we even had a rickroll incorporated
into our game which was not what I
expected coming in I should have known
knowing that this was cs50 live that
somebody would rickroll me in the text
adventure on chat in the chat it was a
great amount of fun I enjoyed it thank
you all for participating in this I hope
you do more community oriented streams
like this because I think it's very
flexible and interesting and engaging so
we'll see what we can do in the future
what we can come up with if anybody has
ideas definitely let me know definitely
post two in the chat are also on
Facebook on YouTube let me know on
Instagram let me know there or wherever
what your ideas are and we'll consider
everything because they want to do
what's interesting before we end the day
I'm just going to make sure this isn't a
git repo so that if you're curious you
can download it experiment with it make
your own text adventure with it it's not
definitely not the greatest engineering
application of all time it's a very sort
of loose it's just a bunch of if
statements but this is essentially is
what a text adventure it's essentially
how a text adventure operates underneath
underneath the hood so the Facebook is
facebook.com slash cs50 you can go to
facebook.com slash groups slash cs50 you
can also go to youtube.com slash cs50
any of those are great avenues to get
access to our content if you want you
can add me on Instagram which is
which I can't type it there we go
if you want to try to use Instagram more
I guess and also cs50 on Instagram which
I believe is just at cs50 so adds add
cs50 on Instagram because that is where
you'll see all of the updates for our
streams we post thumbs now on Instagram
we post on Facebook we post events on
YouTube we post events on Twitch we post
it in our schedule at the bottom of the
page every week and so we have a lot a
lot of stuff you'll get too many pull
requests with more adventures people can
people can definitely pull requests
where they can fork it and do their own
thing I want to clear this I want to get
in it and then I'm going to remove is
there a DES store in here I can't I
don't think I can see it I'm going to
nano a get ignore and then I'm going to
just make sure that I specify DF store
should not be included right so this is
great I'm going to get ad dot get I got
to actually create the repo on github so
I'll create a new repo we'll call this
text adventure stream so text so
community-driven text adventure from
stream on twitch TV TV TV and this will
be public so you can all clone this pull
request it fork it do whatever you want
with it it's not the most interesting
body of code in the world but it's it's
been a fun time Oh
Salter part three will be coming Cyril I
promise I've been meaning to dive back
into that and pre create it and then get
updated on it stream schedule updates so
we haven't we have next week on Tuesday
we have a neural network stream with
Nick Wang so the rest of this week we're
not having any streams there's plenty of
other work that needs to get done
unfortunately or fortunately depending
and I look at it but next Tuesday we are
and I have to chat that might get pushed
to a different time but tentatively next
Tuesday
just a few minutes ago we will be having
a stream on neural networks with Nick
Wong so yesterday he and I were chatting
and I was saying ml and I meant ml the
language and he was saying ml and he
meant machine learning and so we ended
up deciding that he doesn't know ml the
language so it wouldn't make sense to
have him host an ml stream on the
language so instead we're gonna do a
machine learning stream with neural
networks where we're gonna take prior
images of me and Nick on stream we're
going to cluster them using k-means
clustering and then we're going to use a
neural net to generate brand new images
that are similar to those clusters and
so this is gonna be fascinating I'm
actually really curious about this
because I've been wanting to learn more
about ml and neural Nets an AI more
generally speaking and deep learning and
all this all these fancy terminology ml
AI buzzwords going around but I've been
wanting to learn about a lot of the
stuff that's gaining a lot of traction
so next week 10 Adobe for Tuesday may
change tune in for that stream it's give
me an awesome stream really excited for
it let me go ahead and finish this git
remote add I need to commit actually
commit initial commit get remote at
origin blah blah blah get push up stream
origin master and then that should be
everything except for the DS store what
you don't want because that's just a
annoying file that doesn't belong in our
repo we have a PI cache as well which
probably shouldn't get committed but oh
well yeah altogether I think that's all
set the link is github.com slash
colonoscopy slash text adventure stream
so if you're curious about the repo go
ahead and go to that link and then you
can download the code and mess with it
on your own and do all sorts of fun
stuff but yeah this was a text adventure
stream in Python and it was a great
amount of fun because I liked how there
was this back and forth people seem to
be into it I thought it was really good
machine learning is roughly equal to
general adversarial networks as hexa
tester if that's if that's how I'm
parsing your thing we will be using sort
of not a generative adversarial Network
but we will be using generative imaging
for creating the new images
the in the neural net stream we could
create a general a generative
adversarial Network if we want to I
think Nick it is familiar with that and
I think tensorflow would let us do that
it's gonna be in Python and tensorflow
by the way and the other streams are
sort of TBD next week might do that
jQuery stream that got postponed from
last Friday next Wednesday and then do
another stream next Friday but we're
gonna have to wait and see it might not
be up until well tomorrow Wednesday
stream is gonna be up later today next
Friday's stream is going to be up this
Friday we'll only know pretty much as
soon as a week in advance and that's
actually as soon as we can publish it so
we'll see next immunity to run thing
maybe get a co-host or moderator to
parse the text faster do more stuff yeah
maybe it's gonna be kind of hard to also
back and forth and have the narrator
like in my head and knowing where the
adventure is going and have it make
sense for something that fast-paced it
was pretty fast-paced but yeah a
moderator or Coast wouldn't be
necessarily a bad idea if we can get it
it would have to be just right it would
have to work just right I can see it I
can see it failing and being just kind
of like a botched attempt at management
but we'll see well see how it works we
can Babic is saying ignore pie cache
yeah I forgot to another pie cache but
at this point it's okay what is the max
250 words for what for the text
adventure I'm not entirely sure I don't
think there's not a max words on the on
excuse me on the text adventure that's
just all Python strings but can you
check your discard when you are freezes
where should guess I will check my
discard as soon as I'm free and I
promise do not sell the code of this
project charcoal that's better than good
it's good and it is good enough that is
that is correct that is the truth
nothing but the truth the whole truth
yeah so again thanks everybody if you
have more ideas definitely reach out to
us three-ton to me let us know we will
see you soon so not this week no more
streams this week but we see you next
for neural networks and beyond so stay
tuned for more updates and before I
leave I'm gonna just gonna shout out all
the followers that kindly follow during
the stream I missed most of them because
it was so in tune with the thought
what's going on
Nintendo 33 Grimm waltz man SH M 746 in
do qui m'a be 899 Pechanga Kip vendor Z
Lucas nothing true stay in dims in cska
and if I'm missing any other ones I
apologize but thank all of you very much
for following this was cs50 live with a
live text adventure and Python enjoy the
rest of your week and your weekend and
we'll see you next time stay safe