hello world and this is cs50 on twitch I
am as a mile on the walk through lead
for cs50 I'm here with David Colton
Kareem and some other staff members
might be joining in today I'm really
excited to be joining on live it is in
the United States Thanksgiving tomorrow
and so as such many students and staff
are going to be going to spend time with
family and friends so we thought that we
would do a super-secret special stream
mmm super being the operative word for
being the operative word
yeah so what are we doing here today
well Colton has kindly set us up with a
world with the big reveal here thank you
all for tuning in so excitedly Colton
what's on the agenda for today so am i
visible I guess so yes I am so we've
been using twitch for the last couple
weeks for programming for educational
productive purposes but today I thought
it would be fun to maybe use twitch for
its intended use case and you know super
is aware we tossed around a couple of
times and little yesterday on the
Facebook group I even capitalized it try
making clear we're going with this Mike
wank today we're happy to say that we
are using cs4 we're using twitch to
stream a game that is very I guess dear
to cs50 s heart that being Super Mario
Brothers that was a perfect timing for
the logo to come up last did you recall
we start every semester with the having
students implement a version of mario
ascending that pyramid using hashtags
for the bricks and we thought this would
be appropriate to start with this game
here on one of these tiny new nes
consoles that now exists and it's also a
pleasure to have zamyla chan here with
us in the flesh and yeah for like she
said for those who are unfamiliar which
is probably zero of you she's the walk
through lead and has been with she's how
long ago cs50 actually about that was a
milan when you were freshmen or
sophomore in college
yeah predates me and predates Dan yeah
as milah goes way back and but now
zamyla you are not just a
alum of cs50 you're focusing on what
field I'm actually going to be focusing
on machine learning and artificial
intelligence next academic person is
news to me actually I don't
why don't we let's let's keep let's give
discussion going why don't we actually
dive into the game all right Julie do
you want to kick your seller waters for
the first level all right which is not
gonna be much academic content ahead
hope that's been trying to get us to
play games online for years and we
figured now that it's the holidays we
can indulge for just a day so yeah if
you press Start I think you should get
should take you right to the start and
one more time I think for the one player
game okay
and here we go we should have sound as
well go so confirming the chat if the
sound is okay oh you want to go again
okay you go again there we go nice Oh
mushroom so for those have never played
Super Mario Brothers this came out and
what eighty three eighty five five and
so this was the console that like kids
my generation grew up with a so called
side scroller game and actually if
you've tuned in to Colton's class at
Harvard Extension school introduction to
game development this type of game in
this particular game is something he
actually focuses on in the early weeks
of that class as well so yeah the
flowers good that'll be and then you can
throw oh that just made you bigger cuz
you were small at the time but if you
get okay now you're small again no coins
over there right there's a secret star
this is information I've been storing
away for thirty years
okay all right don't worry about the
star and I think about saving Mario's
you can't actually go backwards in the
level once you've gotten past the right
edge of the screen that information is
essentially the loss yeah and I'm sure
this was actually partly a memory
constraint too because you don't want to
keep around that much state certainly an
infinite amount of staying they didn't
85 yeah definitely game yeah so that was
nice fun fact growing up there was
actually a magazine called Nintendo
power and one of the most amazing issues
they ever printed was this game
there it is but the shorter one but yes
nice and for the for those unfamiliar
the pyramid being a an iconic cs50 in
problem set and for those unfamiliar a
magazine was a print edition that had
essentially printouts of all of the
levels uh all right but think I should
you say you you want - well I'm gonna
you know I'm gonna die now instantly
probably all right so it just take I'm
just demonstrating what happens when you
you die
all right so game over I think with the
console that we can well we can just
start at one one if we didn't really
make any progress to save yeah that's
okay that's okay we'll start doing that
at the beginning of levels I think when
we reach them so the nice thing about
this is were actually we're not using
this on physical NES hardware while we
are attempting some kind of sense but
we're using what's called the NES
classic which is kind of like an Arduino
package that has an emulator on it which
allows us to play classic games but it's
a physical device that hooks up via HDMI
which was not something that NES has had
back in the day how legitimate emulator
this one is yeah this is a legitimate
emulator this is provided this is
manufactured by a Nintendo oh did we
miss the free life oh cream and cream
does the premium off camera here is
making judgments yeah we have cream off
to the side and he's going to be like
there get that way hit the brick at the
brick not the top the bottom of the
brick why you'll see you can you shoot
your fireball there you go there I'll
see ya guys so this is a little timer I
think that dictates how many coins you
can get maximally because if you're too
slow you don't get it all stars
interesting nice it's like a wild card
if you will
lets you anything while you're flashing
it will kill the enemy but you can't
fall down the crater still yeah yeah
there's a pyramid that's great nice we
have a lot of people in the chat have
been saying a lot of stuff so everyone
was super excited that zamyla joined us
today we have class we have as leave
bella cures whip streak fabok night and
Kloppenberg who else do we have we have
a Nenets and that was one of the first
people that I saw saying if something is
funny we were because the the the chat
chain or the video changed nice I hope
this is living up to everyone's
expectations at the super-secret stream
in their pyramid - entire stream today
and you didn't lose a single life on
this playthrough did you did not Wow
okay nice yes okay very nicely done well
that was great that was good so now a
feature that we can show off of the NES
classic because we reached a new level I
can hit the reset button on here which
is a physical button on the device and
wipe out all of your progress even
though it's named the reset button if I
click it it'll take us to this menu so
this is sort of demonstrating that this
is more of a high level device than the
actual NES and I press down this should
take me to where I can actually save
different slots so I'm just going to
let's say if I way I'm gonna make sure
that I don't actually over her that I
want to make sure that I overwrite this
one so if I delete this one was that
from before
this one's from before yes oh I want to
make sure cuz we tested this before so
start Lee I apologize when I test it out
oh you have to press sorry you have to
press a on the thing and then going to
select resting the down thing takes you
to your slots I had it backwards I'd let
me do limited time to test this earlier
you want us to show you how to do this
alright so now if we go to the back wow
there's a lot of my childhood on this TV
right now we have a lot there's a lot of
games this is another demonstration of
all the different games that are on here
I think I just sorted it in a in a weird
way we're gonna be here a long time
today oh that's not what I wanted to do
I'm not from the beginning all right
we're gonna get when in doubt reboot
we're gonna hit the reset button I'm
gonna hit down I'm gonna go down here
and now if I hit this now we're there we
go our point so I hit start to on my
turn to games alright here we go
I'm hitting start to resume sorry that
was relatively fireballs okay
so if you already have the fireballs
getting another one just gives you I
think point it seems like a thousand
points yeah cpu-intensive love David Oh
someone's asking Doug slight mark I'm
not sure not here today maybe next time
Doug no he's not here to play today just
a few of the other staff I mean I've
been asking Doug all like almost every
day when he wants to come on stream so
he'll you know through peer pressure
he'll be on here soon no this is a good
problem to be solved right because you
can't physically jump up that high but
if you use your head so to speak
Wow you can hey saving that for 30 years
it can come in here and now I think
there was something special and you know
go yes oh wow Kareem knows too okay now
watch this this is the Power Move damn
it that's not the Power Move here we go
I think I can slide oh you can't I think
you can pretty sure I can slide under
this if I hit it I did right little
Maria and I'm holding beat okay I
promise I'll do that I'm out rusty
haven't played in a couple decades all
right and now much better at this than I
am s what was your first video game
console I was a Commodore 64 which was
an old computer actually and the only
reason we were able to have that as kids
was because it was a little more
educational or at least could be used
for things besides the game
theoretically so we had Bank Street
writer which was like the precursor of
Microsoft Word and Google Docs where you
could type out no monochromatic fonts no
no laser printers oh okay it was but
that's not happening now and so if you
get close to these oh here we go wait
let's see nothing try this at home and
now we jump nice Wow
okay who knew that David was a pro in
Super Mario player speed runner future
speed runner indeed I'm not gonna I'm
gonna let that go but now here don't try
this at home unless you want to warp
ahead do we want to work oh man yeah
right whatever yeah this every there's
eight worlds in this and so now I can
skip all the way to making this dream
shorter there you go I like oh you gotta
go oh my oh okay cs50 is on my oh here
hello
a special guest appearance you guys
everyone's gonna cause that post so you
might if you would want to follow my you
on Instagram
coming into frame now eventually yeah
what is my use Instagram handle actually
I can plug it my use Instagram is miss
my you MS and ISS ma why you
yes like that I mean I why you sorry why
are you oh I can't hit the a dad his a
tag feature in twitch so anybody wants
to follow is a mom's dog
hello looks very plain kated right now
yeah yeah it's just you enjoyed the snow
it's been starting to snow here already
in Cambridge although not today she
loves the snow she's nice so was Milo
cs50 is Milo or Lauren's my Lana yeah
yeah lot of talks on cs50 staff know
where cs50 Schwartz was zamyla just
somebody well know too much longer
once a mile is finishing her PhD in
chemistry yes before going off into the
real world
AI a machine learning indeed okay so now
I got us up three worlds one two and
three if you'd like to pick up with
world for do you want know what you want
to listen I do a little say love to do a
save here I'm gonna press the reset here
we go just give us a few minutes while
we figure out how to save this again go
down and you can just hit a again on the
first slot first so that overwrite that
one up nope I mean sorry oh excuse
me today's rating will be pg-13 okay
that's okay well thanks again
yeah that's okay it's not providing
advice yeah this is what we call user
error now this was always actually hard
because even though you have the
fireballs you can't actually hit him I
don't think from any angle you literally
had a walkthrough of this level just a
moment ago but you know walkthroughs are
the best experience there okay there you
go all right very nice now I offered
some key advice here you two are using
your hand nice that sunk in good and now
did you remember what secretly is over
to the left
no no maybe yeah oh yeah nice oh and now
we can see if you can go underneath I'm
just gonna sit back now and see how easy
the seat really is but if you hold B you
can run faster that's the key you have
to beat oh you did better well that's
because you saw me show you how not to
do is how many times indeed you know I
was telling Colton that I maybe won this
game once in 30 years so I'm not sure
that bodes well for today's straight so
what's interesting is in this so this is
harder you have to get it might be too
little runway now you need momentum by
holding B so you can run and jump but I
don't know if you have enough space now
I don't think I are able to go around
like on top of that lid get over on
there right and then Jim might be able
to but it's going to start moving
off-screen so this was actually one of
the real challenges gaming wise with the
original side scroller is you can only
move in certain direction sometimes and
whereas in the more modern versions of
Mario you can bounce off the right and
then jump to the left you can't jump in
that same way off the walls
now these are nice because if you run up
against the thing it will stop coming up
and down yeah once you're touching the
green pipe it won't pop out at least on
this level okay now notice you only have
80 seconds but it's not even seconds
because now you already have 70 left I
don't know what unit of measure they're
using or what this was clocked at Missa
the native hardware maybe or just half
seconds or something what are we the
time is oh yeah those look like right
now it's accelerated I think if you oh I
know is that the hole is it the way they
loaded the whole game it's yeah I think
so yeah no it's not it was never based
on real seconds I do believe is some
sort of arbitrary amount I think it
still looks like quarter seconds okay
Wow all right we're back okay now pick
all right let's get this right so we
can't we we don't screw this up so we're
gonna go back to worlds one two now so
okay so if I if I press down right now a
taste
okay now I hit a to save and now I can
save over right no you get pulled down
no you gotta pull down oh wait
how many Harvard students does it take
to oh you have to hold it okay like
cream prevents you standing that several
times like I told you oh yeah oh yeah
yeah yeah well this is unfortunate the
array is only up size four and so yeah I
can't store many games unfortunately
well notes for each game each team has
four slot oh that's why each one has the
little circles that's good so now if I
if we go back to this it's not the most
ideal necessarily but now we're an old
for you want to go pick it up pick up
oh and we'll do the harder levels okay
thanks
Buddha Knox's wow this is my favorite
game oh we have a lot of hellos I always
think that's Aaron like an emoji of
Aaron saying hi it looks it looks very
similar to Aaron boolean and bit board
with the with the hello emoji AI
tracking so considered you can actually
think about how you would implement this
in scratch right because the cloud guy
is clearly following zamyla and roughly
tracking her movements left to right
yeah and so you can do this in scratch
with a point in direction of a certain
sprite and that's probably in spirit how
this was implemented though I think they
wrote this and what assembly here's ago
an assembly for the 6502 yes same CPU as
the Commodore 64 by the way interesting
okay this is hard because you can't oh
oh my goodness oh my goodness oh no this
I remember this guy was among the harder
things to get past because oh exactly
what's happening now you have to time it
closer and closer and quick quick quick
why it's nice oh great that was really
good
getting intense you want to reload so
that you keep you keep your lives so the
beginning level this is just start at
the beginning the level anyway or
actually not your middle turn that way
hey was that the game giving me a check
Oh what was that
okay watch once more
by the way this this in in gaming this
is called this is called save scumming
saves coming yeah where you use the save
save and reload over and over again from
a specific spot to do to I don't have to
do that as a child yeah my day we just
played to win legitimate way so I'm hit
the reset button we can go back and then
load the slot see it down hit down over
time and then hit a you know if we edit
this part out we would look much better
at the game yeah that's true and it
would be a lot of editing to the fire
plant another fire flower so that'll
just get me big right yeah and yeah
intervie cuz once you're small again it
it's really just an integer if you will
a counter yeah so when you're 0 you're
small when you're 1 you're big and when
you're two your fire in in future games
have you picked up the fire flower when
small you go straight to fire Mario I'm
guessing some people were frustrated by
the first version probably but this game
was game changing so to speak back in
the day I mean this was so much fun and
certainly the first game I remember even
playing on the original and Nintendo
console oh this is one of the games that
brought the industry back from from the
crash of the late 70s oh here we go
another cs50 pyramid Oh usually good
sign and there we go hi sweet done that
was more stressful than the last that
was that was close to a speedrun you
didn't get a firework though which i
think is dependent on the number of
seconds the second digit in the
remaining time that you have I was
trying to figure out the pattern earlier
but I have to Google that I'm not
entirely sure that's the same slider
how about the code of the time so you
notice that the unit isn't in seconds
yeah it's a good question I mean most
games have some kind of clock and that
operates much faster than per second
might be milliseconds might be something
else and so they presumably just chose a
measure that lines up with some fraction
of those are multiple of those seconds
are usually not a CPU construct either
usually should I figure out how they how
they would do it your OS has the ability
to keep track of time it's usually
milliseconds and it could have been
clocked just to the original hardware to
I mean back in the day the Commodore 64
fun fact I forgot which game it was but
I had some game as a kid it was like a
game show and it assumed certain
hardware and then years later I think
there was an uber
the Commodore or maybe an emulator i was
using where the game was just unusable
because every all the instructions would
just scroll by superfast on the screen
because it assumed that it was the
hardware that was going to be the
bottlenecks not the actual timing so to
play all operations by the delta between
the last frame and the current Wow
little plug for Colton's going all the
time we have a new follow the follow
alert let's say mr. frig 24 nice thank
you for the follow you're on your way
out thank you for joining us so mile
away
happy Thanksgiving happy by tomato you
again my my you as well
ok she's she's very happy just hanging
out in the corner cream you want to you
want to sit in the on honey hot seat
here come on over cream I'll show you
how it's done
[Music]
thank you alright so we're here on world
for two we have to only get to like
eight four eight eight yeah it's a
pretty small selection yeah but I
remember spending a lot more time on one
one 1/2 and 1/3 and less on eight eight
or whatever yeah yeah yeah alright so
here we're gonna jump I get the hard
level huh okay jet learn well crap I'm
late we have to mark this stream on my
calendar that's okay
it'll be on YouTube if you want to watch
us play super amazingly in the future or
other people play even better on YouTube
that's true yeah I seems a pretty sick
table top half cabinet arcade machines
with our PI Arduino and emulators yeah
no I mean yeah we have one ourselves
yeah in arcade machine we have all the
games the physical games for it but it
is operating essentially on the same
idea indeed I don't know if this is a
good thing or a bad thing but I'm just
skipping all of this this is how this is
how the magic happens I don't know this
is it go where am I oh hey Kareem hi be
the world you're just really eager to
finish this stream emergencies and skip
world that got things to do
okay let's air let's save it lets a
request sir so I hit down and then hold
a yeah so I'll show you how to do it say
it down so it'll show you on the bottom
left you have the down thing or you can
hit hold a to save it and it'll over at
that slot and then just press a again
been funny for my turn again and the
result of that yeah
sorry I've been doing such a bad job
keeping up with the chat but we have
everybody saying hi my you Amaya nice
jacket David oh thank you says who said
that whip streak that's an 8-bit board
if you jump it's not snowfall though
still freezing sis Buddha nog we're
guessing where they are currently a
station you're doing better than I did
the first time I play it after 30 years
so you you didn't grow up with this game
per se right it must've been a little
retro well yeah and for those unfamiliar
where did you grow up okay so did you
have the Nintendo console or Super
Nintendo or something I think so with
this game have been translated into
Arabic back in the day or was it stay in
English interesting oh thank you I was
trying to distract you to see if I could
play sooner but then work so it hit down
then whole day down whole day and hit
again you press would hit down to Edna
president that lost the slot why'd it
take so are you telling us like you knew
damn it stop distracting me all right
your turn let's see go that's one of my
favorite topics the video game industry
crash many years ago because it really
mimics the low quality smartphone app
game boom of our current tech era makes
you wonder if the mobile gaming world
will transform with hardware like the
new razor this guy's very difficult oh
the Hammers already interrupt oh nice
that was good I was smooth yeah I know
the in the seventies the the Atari or
you have an Atari 2600 growing up no my
cousins did so I know what it is so
there was a an abomination of a game
called ET I'm gonna
based on the movie who heard about this
yeah the the story goes that there are
hundreds of thousands of copies of it
buried in a landfill in New Mexico and
they actually found some of it they
actually excavated it Oh time ago and
people found evidence of this myth as
being true yeah
because it was just so bad in such a low
quality game and so arcane that nobody
bought it and so so many companies we're
doing this and lost so much money in the
70s but Nintendo in the 80s actually
brought the gaming industry back to I'm
paying attention darn to a to its former
glory well more than its former glory
now the video game industry is I think
makes more money than the film industry
or something like that
what was it yeah we don't fact-check our
claims here on about that recently but
it's it's a very obviously a very
lucrative business now well it was it
the case with ET that you physically
couldn't win the game if you fell down a
certain hole to like some serious bug in
the game it was I recall that might be
that might be true it's been a while I
know there was definitely it was based
around that idea of exploring these
weird holes okay so it's it's very
possible that there was a book like that
there are like something from that era
where you could find yourself in a
position where you just couldn't end or
win the game I think that's a that's the
case with a lot of games even into the
NES era there are there were like really
crappy games that managed to have game
breaking bugs a lot of them will third
party though to be fair but compassion
the stress I mean every one of us who
writes code whether it's in cs50 or
after cs50 think the code is buggy and
you realize you can improve it before
long but back in the day you had a ship
physical cartridges and there was no
patches there were no updates you
couldn't just download the latest
version I mean that was it so god forbid
like Nintendo or someone screwed up
everyone has that cartridge I'm gonna
put you in your in save mode okay down
and then down it this is not a very good
user experience let's go back to that
menu okay hit down down now go down to
that slot down below and hit a okay so
they have to do the lattice not my fault
that isn't that you X you overrule what
we have
now he didn't but he almost did was this
the level what is a long dream just did
yeah so to be clear
press down first then hold a you can
tell me as many times that's not gonna
sink in oh that was the hard one
oh I'm steady peace plate and Happy
Thanksgiving by zamyla hello everyone's
excited for cream as well bellick is
inmate sing hi cream whoa mint 2:27
what's this dream about a very
educational very productive content
today we have Super Mario Brothers for
the NES very focus today but I mean to
be fair we are covering some interesting
programming and historical topics at the
same time we are trying to make it sound
like we're interesting topics while we
play this best I do remember that game
is back even in the early 2286 PC games
written for like 60 makers processors
would run insanely fast on something
like a 24 megahertz processor yeah
because a lot of games back then didn't
multiply their transformations by the
Delta between frame x and frame x plus 1
which is for more on this topic visit
cs50 edx.org slash game yeah i mean it's
yeah it's something that you see now in
games cuz you computers are all over the
place and making a game that works well
on a Mac and a PC of different speeds
yeah I don't envy that you have well
it's actually very easy if you just use
the if you just do multiplication of any
transformations like I said by you know
the amount of milliseconds that have
passed between this frame the last one
because then it'll be consistent
regardless of your frame rate it is
interesting how commodity some games
have become though like are they're
compelling differences among gaming
platforms if you can buy the same game
on a PC on Xbox on a ps4 and the like I
almost always vouch for PC because PC is
much more flexible you can mod your
games games are much more customizable
typically you typically can run it on
better hardware and then a ps4 with the
ps4 you're stuck with the GPU and the
CPU that it ships with
whereas on the PC you can go you can get
the new I nines you know whatever you
want to do so now don't don't hold a
yeah exactly now you want to load it but
so when I have gamed on PCs which is not
terribly often I actually find the
repetition of the mouse and the keyboard
actually strains my hands with this use
of RSI respective stress injuries sure
do you find that game consoles and the
handheld controllers are a little less
susceptible to that issue I think yeah I
think typically from what I understand I
haven't looked too deep into it but
carpal tunnel is the thing that a lot of
people have spend time on PCs get and
I'm what you're saying about RSI no it's
definitely affected me and it just was
not worth the risk to keep playing games
like that if it was kind of making me
tense up so and stress out so yeah do
you think if we keep talking people
won't notice we're struggling on this
part of the level gossin 1:19 hey cs50
how are you we're doing great how are
you colleague on M David could you tell
us three recent games that you like and
do you play more on PC or on consoles I
think the last part you just clarified
but three recent games these that you
like you know I
it wouldn't be inaccurate to say Super
Mario Brothers one and Super Mario
Brothers Super Mario Brothers 3 it's
been ages since I played games actually
more recently when the we came out in
what like oh 506 yeah I finally got back
into gaming in large part because of the
simplicity of the controller and the UX
I had found that like more modern
consoles like the Xbox and the
PlayStation had just gotten too
complicated for my interest in my brain
the patterns of clicks and ups and downs
and left and right that you have to hit
were just too much so it was games like
what Super Paper Mario and I mean
anything with Mario's name in it I loved
Selda though Colton and I think what two
years ago now was the last time we
played games at least together and we
which one was it not Twilight Princess
was breath of the wild it was beautiful
and we only played for one day and then
I think I fell asleep it was like after
the cs50 fair yeah oh here on campus
sorry
it was for wonderfully relaxing it's
amazing how beautiful the games have
gotten and with the Wii I like it
because you have the motion tracker so
you can kind of swing your sword
physically as opposed to hitting some
arcane combination of key of buttons
yeah so I enjoyed that it's just I don't
let myself play games anymore because I
know if I do if I start I will not stop
for a month
Hyper in Belgium yeah a little bit so
it's easier just to go cold turkey and
not do this I got my dad into gaming
recently actually abreast of the wild
was the game that got him to go back
after a 20-year hiatus of gaming Oh the
Wii was terrific and even now I've not
gotten into the Xbox or Playstation it's
just too much complexity for my interest
sure like when I play a game I only am
gonna give it a finite oh yeah you
that's how the game is but you're almost
at the end you've got to get this right
I really don't wanna play this level
again nice so we're gonna save it this
time but will I set it yeah did it see
if it gets fireworks one single firework
I got to pay closer attention to the
timer and see what it correlates with
all right we only have one life now okay
so now what you want to do you want to
hit down first then hold a there we go
now hey one more time now we've saved it
that is kind of non-obvious you got a
little bit if you have started with two
players we have got - mm I don't
remember actually oh that was lady
obviously damn it shut my mouth off go
ahead and hit down in the neh just down
one more time na hey ya know we're
deliberately playing with one player
because this way we can go back and
forth using the same progression
otherwise if the weed you were playing
to he would be and then it'd be twice as
much work and then we'd be completely on
our own pretty much does Luigi have a
separate progress than Mario yeah if
you're playing two-player oh ok so he'll
be like back a world whatever Oh
interesting I didn't realize that yeah
no I mean it wasn't a bad design it
allows you with a sibling or a friend to
kind of go back and forth and make
progression even though you weren't
playing against each other now a cool
trick here if you really want to be
fancy I think you can jump on his back
and then crouching we haven't done that
yet okay this is gonna be his resting
here we go
that's okay that's okay so go ahead and
hands going and then sit down down eh I
think we were spending more time on the
save screen than ET is a 1980s movie is
that the movie yes oh yeah because et
came out in the early 80s not the 70s
the Atari itself came on the 70s it
ended its lifecycle in the early 80s
right around the time that et came out
which should have been around 81 or 82
so hello well from Pakistan I have been
waiting to join these streams for a long
time since I finished this video back in
2016 finally managed to do so but can't
watch the video at the moment is a slow
internet hope you guys read this message
I will rewatch the stream when it's
loaded on YouTube says khuda Baksh ah
thank you very much thank you for tuning
in you're not you're not missing
anything particularly academic today Ben
inspire yeah normally we do programming
or you know technical streams cream is
than some dev off stuff with us for
example ended and I've done some
programming stuff together
it's just Thanksgiving week here in
America so we're taking a bit of a break
wow that was amazing you deserved from
some points for that Thanks yeah he's
got about a hundred thousand of them
well I mean come on to be fair I got
like 90,000 look it's amazing though
good luck these so called 8-bit games I
mean even though Mario is clearly very
blocky and you can see the pixels
literally on the screen like it's enough
expressiveness to paint the picture of a
character and the turtles are clearly
happy in their flying and you
down down a down down and hopefully
we're halfway Oh back to the beginning
oh and I'm small
this is difficult hey but imagine how
much worse this would be if we didn't
have the ability to save it you'd have
to start from game over at the very
beginning every time yeah yeah that
wasn't gonna that would be like a
multi-week stream oh we go Oh like I
don't want to go off the edge now I'm
gonna get the mushroom which makes me
bigger changing my state so there are
some nice principles of game design in
this kind of game oh yeah and it's not
very unlike scratch with the building
blocks that you have access to oh I
didn't help B I needed to all B to get
that jump in the yeah no way this game
is very representative of you know just
it was sort of John were defining when
it came out so and it has so many things
that so many games try to adopt
afterwards were there side scrollers
before then on older consoles or
computers um that's a good question I'm
not entirely sure because these terms
had to come into existence at some
definitive point I'd have to I had
thought that Super Mario Brothers was
kind of the first of its kind but there
very well might have been an early
precursor to it I'm sure they took ideas
from other existing games and the idea
of scrolling in itself I don't think was
novel to 1985 that's fair
but I'm gonna have I'd have to do some
research and was entirely sure but what
I find
I remember reading an article some years
ago on just the assessing the quality of
this game and especially the first level
because it surely came with some kind of
instruction manual maybe in the box but
most people probably don't read those
things myself included and what was
brilliant about Super Mario if we went
all the way back to 1:1 it's how it kind
of teaches you as you go how do you play
it right because if you think back to
world 1:1 it starts off pretty safe
pretty plain amazing thank you so much
done and you got an extra life during
that - very nice so as you recall
there's like a brick with a question
mark in the sky that kind of in the list
it's your curiosity and so you're
probably just inclined to see well what
happens if I go up and touch it or jump
up underneath it and then there
the bad guy is moving towards you and
your instincts probably are low I should
probably jump this guy and with those
two mechanics you can jump you can hit
things you're kind of on your way yeah
playing the rest of the game is sort of
okay now now you want to hold a hey gun
hey one more time so just a just do a
solution they're really gonna do down
down a throwing a load because you want
to overwrite your seat so this is our
first dungeon
actually ii know we were world 1-2 he's
underground dungeon in the sense of the
boss at the end
oh so down a there's yeah this is so
every world normally has a boss level we
skipped four worlds but their bosses but
this is the first world so that gist of
Mario is we never really talked about
this is that Mario is trying to rescue
Princess Peach
or I guess Princess Toadstool at I'm not
sure how she was no I think it was peach
in the first one but she was kidnapped
by Bowser who's like this King Koopa
down down a the King Koopa and he
basically takes her into a dungeon every
world but at the end of every world is
kind of this trope where oh you rescued
a toad actually the princess is in
another castle and it's kind of
something you noticed they died yeah you
noticed I noticed down down the eggs oh
yeah I can't I get up remaining I just
want to make sure we don't overwrite the
oh that's gonna happen again don't worry
so notice I'm going up here even though
I don't really need the fireballs
because Fire doesn't really hurt fire it
at least gives me more don't forgetting
that but doesn't help with holes in the
ground downtown a speaking of patches I
remember back in the late 90s on dial-up
waiting for an agonizing three hours for
a tiny patch to games like Diablo 2 and
Medal of Honor allied assault ooh
yeah that would have been that would
have been horrible this is cool and I
mean just getting timing right is really
good design I think oh why didn't I
could do that let's go I mean I don't I
can do it on a lot of levels but
oh that was close - this is an obstacle
course oh okay good thing you're big but
you can't do that again oh there's a
boss so this is a boss you've gotta beat
X so the goal is get past Bowser and
there's a thing behind him that you got
to get oh you might can you jump over
him or only um dog that was that give
people never know it quick what do you
think should we jump over or go under go
under I think if you time it just right
but if you're big you can't really go
under it easily so and you'll notice
sometimes if you if you looked at
Bowser's fire for example when you shot
at you parts of it little blocks of it
would actually flicker and that's
because every single sprite on the NES
had to be eight pixels by eight pixels
big so including Mario so he is not
eight pixels by eight pixels big he's
actually comprised of multiple sprites
put together and rendered together
separately I can only handle so much
sensory input at once
but you'll notice sometimes bits like
blocks of things will flicker that's
because that particular sprite de penas
Hardware it has a few weird quirks about
it if there a certain amount of sprites
rendered on the screen some of them will
flicker based on a render priority
I forget the number I think it's 32
sprites on the screen at once and some
of them won't render
[Music]
it's kind of funny that there's any
coins at all on this level doesn't yeah
it really just teases you okay
doing well if you just blow and there we
go wait nice nice and well done so bow
so now we're gonna get to where Princess
Peach should be but it's actually a toad
no that's what keeps happening yeah
Thank You Mario but our princess is in
another castle that's actually a meme a
lot of people post that like saying go
gobble time it wasn't a meme but now
it's a memes where where you are let me
let's save it so this time you want to
hit down hold a and press a again okay
now what rolled six we're actually
getting pretty close to the end of the
game this is like two-thirds of the way
through or ask you to quarters of the
way through skip to three and most of
four that's true I that was impossible
sir that was a bug in the game it's just
not possible to get over those guys okay
maybe if I go faster and Dude Rambo
higher frame rate typically on PC
hundred and forty-four Hertz not sure
what not sure what you mean by that
144 Hertz hey Kareem what's that over
there
Delta time is also why some games like
Skyrim and fallout for up strange bugs
with physics and menu scrolling on super
high frame rates it makes them super
sensitive and fast yeah because Bethesda
games
apparently they multi do their physics
operations frame by frame and don't
interpolate the calculations which is
apparently a big source of bugs for fall
at seventy six and also a funny thing
about fall at seventy six is this new
this new sorry I apologize if I'm
there's a little too much but fallout 76
this new game that just came out it's
like this this open-world sort of
exploration game it's getting a lot of
flack for a multitude of reasons one of
them being that if you look down at the
ground in the game you'll actually run
faster than people other people over
there yeah and that's just because
there's less stuff to render when you're
looking down at the game so the engine
correlates poorly code in err that's a
clever discovery for someone yeah
so you have people racing and then
they'll just look down at the ground a
little bit racing each other but if
everyone's doing it then it's kind of
leveling the playing field
yeah what I'm finding is the key
advantages through playing games like
this is to play with someone who's
better than you you didn't well because
then every time you get stuck your
friend can just get you past that point
I would say you and cream seem to be
doing equally well I'm just glad I'm
allowed to play because I remember being
a kid and you know playing with other
kids and you if you weren't among the
good players then you just weren't
getting a turn yeah or if you were you
were just completely intimidated nice
nice by the way you finally gave it to
the lakitu and if you caught that but he
killed the lakitu you can jump oh yeah
you get on top of them yeah absolutely
the lakitu being the thing in the cloud
I probably missed something
I don't separate nice well let's go down
whole day a nice
okay now we're kids I think we should
save multiple slots in case we
accidentally do because it would be such
a shame to have to go back to the very
beginning if they get a game over or
something so obviously you play a lot of
games like way more than both of us I
played me that's a compliment right do
you think like what's the closest game
that you found to barrio in the sense
that you know it's intuitive like you
don't really need
you see a video that's a good question a
lot of games are designed that way now
because a lot of games a lot of
designers are well aware of the things
that Nintendo were trying to do what was
trying to do back in the 80s I mean just
all have throughout their entire history
in attendance been very good about sort
of subconscious tutorial ization that
we're games it's also targeted at more
less comfortable people like people like
me frankly who just aren't as skilled
with the controller or engaged enough
with the platform to be able to get to
in depth with any of the games yeah so
yeah there's a lot of platformers that
are coming out now that kind of abide by
that same philosophy of just kind of
making it very clear how to play the
game like introducing little things
piece by piece
new features ie more eg the like the the
question block and the Goomba and the
sort of new things piece by piece that
let you get a sense of all the mechanics
of the game without overloading you at
once like this piece of the game is now
doing we've seen warp pipes you seem
prAna's we've seen this pyramid we've
seen Koopas now it's putting it all sort
of together and that's the beauty of I
think Nintendo games a lot of the time
is it might be this gradual sort of
introduction of other elements together
work that was really good yeah but it
was I'm sure everyone was bored watching
me play I was taking that super
conservatively oh that's ok let's save
it here oh and I got a new palette swap
they're so beautiful
let's do it on another slot - you want
to do on another slot just in case we
accidentally save over it so I hit down
that's ok
just in case that happens I go down we
hit a there's a load though ok yeah
that's gonna load it but we want to load
it and then now we want to do is we want
to go into the menu so hit down down so
I go up right right right one more time
and then and then hold a hold it oh yeah
because you have to overwrite it is you
can you press a once now we have two
slots in case we actually over at the
first thing we have a back that's good
it's like raid one always back up your
your data which I don't
in real life what was that this looked
hard all right here we go four hands
straight on PC up you just picked up a
$5 pair of fingerless bicycling gloves
with padded palms and other parts they
help keep the hand extended as well I
think at that point if I have to get
special gloves to play games I'm playing
too many games I think David missed the
love for his use your head pun and he
needs to know he is a genius oh thank
you more where that came from today stay
tuned for other puns hear and see us at
the untwist if you jump on a rocket can
you write it the bullet bills I don't
think so now they you you you just
defeat it like an enemy fire
Danny's buttons used to cut my thumbs
and I was grounded from playing for a
finite amount of time luckily I knew how
to use a stepping stool to get them from
the top of the fridge says hammer
brothers time hammer brothers being a
very apt name for what we're doing today
indeed well fun fact - we weren't
allowed to have game consoles those kids
just like a computer like the Commodore
64 which again we could use for school
technically as well but let's see if I
can talk and reminisce I can't
and that was a definite looks like that
was a new obstacle type to the
platform's alright if we take a step
back what do you mean oh well we
probably then you we lose lives as well
if we keep doing that you trying to
really get this room to finish - ASAP
are - or gonna be like an hour stream
that's good then it'll look better at
the game but I think my best friend
eventually I think we were in high
school by this point he loaned me his
Nintendo like 10 years after he came out
and I'm not sure he ever asked for it
back but of course it was 10 years later
so I had kind of missed the boat already
and it's not like I was playing it all
that often but it was great fun to play
while we had the chance
say you uh borrowed his NES so no I did
borrow he knew it was borrowed I just
think he had lost interest and then you
know I went off to college oh wow you're
much better
very smoothly done was it good that was
a good room is it true that if you tried
it
if you jump almost over the flagpole you
get a free life that's correct
it's hard though it is the timing just
right
might it be I've been a so hit hold a
that time you it might have been a part
of the superstars re-release of Super
Mario Brothers for the Super Nintendo
I'm not a hundred percent on that in
that game you certainly could I'd have
to double check to make sure that was
the feature they added to the
superintendent but I think it's probably
NES version as well I'm the designated
save save reloaded reset button master
all this chart ones we tennis has the
simplest interface as Brenda shows to
Brenda thank you for joining us in the
checker you know I just realized haven't
sworn yet I cursed on accident the
jawsaw what are you going to be in this
live play Super Mario Brothers and
hopefully beat it we're getting really
close I think we only have a couple well
we are asymptotically approaching World
AIDS yeah I think that means by
definition we will never actually read
it my definition yes which language is
easy to pick up after seeing your
opinion Python or JavaScript says neo
neo Chris 2:16 I always been terrible at
that man that's a hard name I mean
personally I think they're pretty
comparable it really depends on what you
want to do with it javascript alone is
pretty straightforward but if you start
introducing a synchronicity and callback
functions then I think you there's a
higher ceiling like you can really get
into some juicy topic some non-trivial
problems to solve more readily than you
can with Python at a command line whoo
that was that guy's tough the hitbox on
that by the way looked like it was a
little bit too wide for this sprite so
so I would propose choose Python if you
want to focus more on the command line
or GUI or focus on JavaScript next if
you want to focus more on web
programming but I can't really go wrong
spending more time with either and
frankly eventually you should probably
pick up a bit of both yeah
some games are super addictive
systematic night yes very much so
candy crush are you a candy crush player
I'd never gotten into that one but there
were other games that was really good
yeah okay so you could just run through
them I think that's true maybe actually
I think so I thought that was it that
was strategy I knew I could afford to go
from big to small yep okay yeah world
seven we are really close so but make
sure you're having a Mario the whole day
how are we already at world seven yet it
took me 30 years to like beat this game
the first time because we're using
modern technology okay this game would
be very hard to do without that it was I
mean you've really needed but that's
good that's what made it a good game I
mean back in the day too you could rent
games maybe you can still do this now
from like VHS stores and in addition to
movies and we would borrow a game for
like $3 for the weekend and then play it
for probably 48 hours until it was due
and I swear I would end up with
headaches because we would stare at the
TV so much as kids playing on my friends
borrowed hardware and have on memories
they have blockbuster alone game
blockbuster yeah what question was like
my faves a kid I was like my favorite
thing we just go block we go block was
rent superintendent n64 games Oh Ricky
Java effects matters much more brother
Colton says Gus in 119 not not too
familiar with Java FX oh I have to take
your word on that I'm like David don't
let myself play games music it's super
addictive says Ashley yes
I've been a lot more productive
ironically in recent years why what's
wrong
okay okay I always made my little
brother play as Luigi says hammers
nice very nice the turbo key boy that
really is way back to the end poppin
borough yeah you could get a turbo
button than the 486 yeah yeah but you
pretty much needed to keep on all the
time it was really it was a misnomer
right because the turbo button was
essentially the default and pressing it
would slow down the clock rate for I
think certain older programs or games
that assumed a slower clock speed yeah
because otherwise it invites the
question like why would you not use
turbo mode ever if I go backwards
compatibility feature
it's like cores that have a turbo button
and that is a kid some cars I think used
to have this and you push it and you'd
think that you would just accelerate
like Batman but that's not how that
works out there hey more fireworks nice
overworld at 7 - I'm gonna go ahead at
this we want to go ahead and a down hold
a nope nope Oh
get a hold a wait what just happened you
just over the load of the prior save oh
I'm sorry I just got into the habit of
down down a ok fixed down down a we just
did no that seemed it that's ok they
were at the same point yeah you saved it
instead of loading it this game is hard
so another game that comes on this
console is excitebike where you race
from left to right another side scroller
and you jump over hills and you try to
speed up by hitting little pads on the
ground that was a fun game and it was
cool about that one is you could
actually there was a builder mode I saw
that there's a builder mode it's okay
where you could actually create your own
levels and I think years later you could
make your own Mario levels right Super
Mario creator or IO maker maker and it's
like you have so many levels for that
like thousands and thousands of levels
that people hold the world and there's
so many like big YouTube videos that
showcase
brilliant so you let the community get
so engaged like that I mean any
community source content is a huge
paradigm in games now yeah this wasn't
necessarily always the way I remember
even when the iPhone came out before
there were really mobile games let alone
mobile phones that were touchscreens
I think Steve Jobs even was opposed
initially supposedly to the App Store
and it wasn't until Apple opened up
their SDK software development kit and a
lot of people writing games that it
really mushroomed into far more apps
than the ones that just came with the
phone yeah the reality is I mean your
your games and platforms are so much
more robust and powerful when you have a
corpus of content to actually use it on
yeah the gaming consoles back in the day
they had like no games they're typically
the ones that did much worse well even
now we got the Nintendo switch a couple
years ago for the students on campus on
cs50 staff and you know there was only
like a couple games that anyone really
seemed to care about all right we're
gonna all right we're gonna take this
one slow so down down down down down a
No down hold it hey you want to
overwrite their slot three is well
that's fine we can I don't have to do
that sounds like a lot of complexity but
yeah I know the switch is somewhat oh
it's a walk first water level that we've
seen I think we skipped all the early
get up yeah we get some we had a first
blooper there which is what those are
called over they I do believe they're
called bloopers yeah so what's
interesting about this game is it's a
this level is it's actually using a bit
of gravity yeah where I have to keep
paddling by hitting a okay I thought I
could go over there but no and I fall by
default as you might in the water
without swimming but this is really
risky cuz I just don't want I don't want
to hit these guys I need to be big oh my
god oh my god I thought one might have
been a poor decision nice now wait can I
go okay greedy wait can I go down there
isn't there something hidden I don't
know I one of the levels lets you go
down secretly that might have been a
risky it's a risky I know but you would
have been really impressed if I
remembered that I would have I think
that was it I think there might have
been something secret down there
the world may never know actually
playing people died probably good day
that was horrible well done first first
bang actually that's true we haven't
done that since actually ever yeah you
might have seven three who it's getting
intense it down a whole day a nice thank
you for the kind kind remarks cut Baca
if I'm pronouncing that correctly it
could a botch out looks like those
languages are a bit different race
really depends on what you want to make
but pythons really fun and versatile
good for cybersecurity to lft Kim with
the cap well with ears I love it
I'm Colin's friend from the Facebook
Rondon Roy oh yeah I've seen your name
nice Ramirez yeah not being able to say
it was my life of gaming lots of he
order says Brenda Wow yeah I remember
that that was actually so much fun is a
kid going to the physical arcade before
consoles became a thing yeah and I
missed that I missed that feeling you
know it kind of became very met after a
certain amount of time didn't it though
else became a little expensive and I
don't think my parents really were fans
of giving us many quarters to play yeah
no definitely well that was that was
amazing
that was very well done nicely that's
seven four so I get the boss level so
boss levels kind of become a term of art
do you know where that came from
boss yeah I'd have to explore that it's
sort of etymology and item ology but I
guess the origin know where that was a
down hold a nice etymology I think yeah
I feel like there must have been some
game that instituted the idea of a boss
and then everyone it might have been
Mario but honestly well no he may be the
boss of jimmy games that came out in the
70s predating Mario that had AI think
that idea of little bigger monsters
you'd fight at the end of a level a
little nervous that there's no think
about how some sort of a secrets way to
go
yeah yeah there was a certain way you
have to go through the level I don't
think I ever got here
Oh see how it Luke see how it's
repeating so there's a specific way on
this level do you have to go I don't
remember the exact order of everything I
had to I think I had to look it up when
I played this on the agenda a
brute-force algorithm well once you see
it repeat just don't do that again yeah
why is your initial stress or there we
go you're already making progress
yeah as he says my first game is Prince
of Persia I wish you guys would play
that too have you played Prince of
Persia are you familiar with it no that
sounds complicated
the the first one was I feel like school
like this kind of like a loop in C yeah
so wild not or I guess while going
through the wrong way there you go loop
what the level a little bit more
complicated like we should be a little
more systematic than this you seem to be
using pseudorandomness helicopter was an
earlier site scroller rights as J Lardon
wha uh I don't think so no the
helicopter game as we know it on was the
thing that came out in the 2000s on it
was a literally just at the same like a
flash game you know you did so why don't
we go to the top this time instead of
the bottom so yes they up above modern
science scroller debts still strive to
be this good says hammer over this time
yeah they do celeste and hollow Knight
and Orion the blank Morris need to go
the whole way these kinds of games are
very famous now for being sort of the
modern incarnations of side-scrollers
the much more nice modern looking
feature-rich games but these they still
abide by a lot of the same principles I
think that wasn't
so it'd be interesting to know how this
is implemented under the hood it feels
like there's a secret a gateway you have
to go through because presumably it's
keeping track of where you're going
triggers yeah they're called triggers so
there's an area and invisible area where
once you've collided with it with some
box triggers another subroutine enter
yeah this is the one thing you haven't
done anything
nice nice nice one more not helpful
I don't running at it maybe you have to
go on the bottom yeah your head going
into the bottom on the bottom here yeah
maybe they're just messing with us
interesting
[Music]
man now I'm gonna have to clean it up
this mess
nice nice
I feel like they want you to go
underneath live of the lava and then you
have to go through these in some way I
did that right but there's some there's
some specific way you have to do it that
we're not doing what are you suggesting
oh I don't know I don't know what it is
hey maybe one of our friends in the chat
room will help us out here and give us
some advice hi guys thank you so much
I've been learning a lot thoughts of
love from the Maldives is MSHA Manali
yeah lots of lots of learning again lots
of learning today on the everyone tell
your your family and friends that you
learned a lot over Thanksgiving here
favorite game ever says I was the only
game I could save was Ferrari I was in
two games a bit late sabbatic night oh
I'm not sure what that was for social
based ideas for mobile or web app still
worth to say what's America trend be on
Facebook and what's up and what's that
what would be the next hit if I know
what the next hit would be gossan I
would implement it I can't that's not
something I can say but it's definitely
socialization of your apps is always I
don't think it ever hurts you at all I
think it's always a great oh yeah sorry
missing my one had one job so now I go
down down hey don't turn one tomorrow
sure I recommend Python it's really
really fun to learn Python the hard ways
excellent for learning it's cheap if you
want to buy a cop how is a game of all
because we saved it with zero lives oh
we should save it more intelligently you
have to start with the budget so games I
used to love as a kid were by Sierra
online King's Quest yeah he's quite
adventure games plane click adventure
and honestly they even less resolution
than Mario had but they were so engaging
and so challenging in such a fun way you
know they have modern incarnations of
those for like guess for their really
yeah you'd probably enjoy it my I got
one for my dad because he likes puzzles
like that so he made a modern like 3d
one but it's the same my exact idea you
have to make the right decisions and
solve these puzzles well I remember
first playing that on a monochromatic
screen that was actually green and black
it wasn't even black and white it was
like funky green colours one bit really
and back in the day
before there was an Internet and sort of
telephones used to have to like by
Macworld or Mac user magazine of printed
publications for those familiar and on
the back there would be various
companies like the Mac zone and other
companies that would sell games and
other software and you would literally
have to look down figure out
alphabetically if a program is available
if so how much it was then you would
like fill out a piece of paper and mail
in your check or get on the 800 number
and actually call them and that's how
you would get games and that's how you
would know when new games are out like
you'd have to buy the magazine or go to
the shelf in the store and like check
the back of the magazine to see if
something new were out whereas now of
course you get you know push
notifications or you can just go to all
websites this is getting difficult I'm
telling you we need that Nintendo Power
magazine they got serene transom every
this is why Nintendo Power was so big
back in the day they give you like the
map they would show you like the
different different pieces where you had
to go I don't know that would be that
would kind of make sense and then go
well no yeah I keep going I think oh oh
yeah maybe yeah yeah okay but but this
is the first part the second part is oh
yeah I keep solving this one randomly by
accident I plug the same ok so now I
think you go on that little middle piece
I'm almost positive this penalty no I
mean the where the lava is I feel like
they do that on purpose because like
they they know that people aren't gonna
typically do that and I feel like this
could be addressed but you did this I
think just give me one chance and we're
good to go
now remember what I just did there you
want it if you want to make this a
little bit easier press oh sure
so yeah down oldacre ok saves coming but
is you know I don't think people want to
watch us go through that it's not
cheating its strategy yeah for that
reason
so painful to redo this is the beauty of
this is the beauty of modern of modern
gaming Oh turn that king son offer at
rejig of the light the one very nice
very nice very well done just give me
one chance after ten
Roger go do you want to do a level of
Super Mario Brothers I was gonna watch
first
Rodriguez oh yeah to come and the
Cameron introduce yourself tell us all
about what about yourself
and want a whole day here and then
president can we go can you go up as
well and then okay sorry no here what
we're gonna do is press a then I'm gonna
do this
Colton showing everyone had a chin then
press down down right right hold a there
you go now we have two slots so this is
Super Mario Brothers one for my child
started everything know I could talk and
teach at the same time so before you
were born this is what video games look
like nice nice starting and Rodrigo here
is one of our Teaching Fellows on campus
has spent the past few years and summers
and more with us cream what you mean oh
I know I but I can't do that and talk at
the same time bad things will happen so
now we're at level 8 one so we did all
the hard part first before you got here
and now the goal is just to move from
left to right jumping on all these
creatures accumulating points and coins
and making our way to the final level
and you can go up down left right a
jumps B runs and that's about all you
need to know
I've played our play of a fire I've
never played this original version metal
eagle says there are actually some bugs
and glitches in games that the players
really enjoy finding and manipulating
and so this is actually non obvious you
it's really a leap of faith
not unlike Indiana Jones and the Last
Crusade where you have to take this leap
of faith now I just wanted to show you
if you do that you're gonna die okay so
here we go up down left right BA all
right so the tf2 the games course - so
he's very familiar with Mario yeah
exactly how good - yeah down down and
then a TFS Teaching Fellows so it's one
of the teaching assistants with the
class right all right here we go mr mr.
freak 24 any language is easy to pick up
a few learn a language like C but
JavaScript has a closer syntax and
semantics and than Python but a
lot of Python syntax and semantics are
easier in my opinion so more of those
trade-offs I think that you're going
about the border there though that's
true of a lot of procedural languages if
you look at other languages that tend to
be more functional and JavaScript starts
to approach just to Lisp and f-sharp and
other languages you'll find that the
syntax starts to stray from those C
derivatives was their design decision
for freezing the frame when you touch a
powerup probably yeah because one you
know how when you get a powerup it'll
kind of like you'll do that Derna and it
will kind of freeze the game oh because
the way that I can imagine they wanted
to do it was one to show the animation
of you getting the powerup
which kind of makes it more powerful of
an animation so down down a gravity you
can't confuse land on a wall you can't
jump off of it this is 1985 there is no
vertical leave yeah but I think I think
the reason that they did that was to wow
now if you were in an arcade rolling the
ball into the hole that would have been
really good that's - what is that is it
skee-ball rescue ball that's it that's
so much fun we get the tickets yeah well
we're really showing our age here you
know an ability I'm really showing our
ability here let me watch you want to
watch the mess all right here we go
watch this of our dive within five
seconds oh and you get more points than
more enemies you hit in a row and you
don't start getting one up so if you
pass 5,000 points but you don't want to
touch the turtle is the key today I'd
say so I'll show you again so if that
thing you know kind of ricocheted back
that's bad okay so sometimes it will
ricochet back sometimes it'll go off
screen and then be forgotten so like
that it looks like the CPU has trouble
keeping up sometimes which is why we get
the flicker maybe there's a button it's
a rendering limitation of the the NES it
can only render a certain number of
sprites at the same time on the same
line there let me just show you one more
time
sure okay you want to make sure I really
get the beginning I really want you to
get good at the beginning here so that
when the end comes up you're ready there
we go that was stupid isn't it than that
where this is where it's dangerous you
don't want to do this but I bet there's
something in here oh we haven't done a
single warp pipe well usually there's
good on that but I'm not gonna let's
just make progress or or you go say okay
so you can go down these pliers
sometimes you can go down pipes extra oh
we've really not been paying attention
for much okay so yeah the first the
first world has a has a pipe well we did
yeah we beat a lot of levels before you
got here
so yeah we we we beat a little of you
sleep and skipped a lot of levels
skip to us we did we did beat a lot as
we just took at this shortcut so how far
along the game aren't we
we're almost done we're at the last one
the last year ending up here yeah so you
had to bring in the reinforcements we
did we did you know we're
a little fatigued although David said
David's doing well yeah you're really
damn good
why for 30 years nice voice because yeah
you made it seem like you were gonna be
horrible that's because we got a bet
riding on this ten dollars ten dollars
of what I don't think we specified
saving multiple slots the axiom of any
bethesda game file corruption galore yes
that's a that's the kind of the only
real way to I think play without to play
and experience everything in the game
because otherwise you I think you're in
for a rough come on down alright
Rodrigo's turn alright so I watched like
all the prompt there you can get all the
ways now try at the end that was really
good that was really good speeding up
clever game tutorials and never play
tutorial levels for far cry blood dragon
they're extremely funny and snarky I'm
sure you can find them on YouTube I have
not I have not played blood chugging
I've played for Arkwright 3 & 4 but not
Blood Dragon and to actually these
controllers were kind of biased toward
right-handed people would you say given
that the controller pad is always on the
left and the buttons are always on the
right I don't know I feel like maybe you
could get used to it yeah because I
don't know if that necessarily because
you're doing a lot with your right hand
- yeah that was a lot of context you're
doing more with your right hand so cream
was saying uses the d-pad instead of the
analog stick on the kiss forest for
movement
yeah giving when we're playing like FIFA
or something where the movement is
really flex really used though you gotta
hold be for this one there you go just
got so used to that old-school sort of
feel fit okay don't go too far okay fine
go ahead
so this is where okay so do as I say not
as I do here right careful okay so and
this goes boom but that's okay they
weren't a part they weren't on screen so
much flicker had a few camera and like I
said that's because it's so it happens
when there are a lot of sprites on the
same on the same row making me nervous
here
Wow it's more nervous than I am all
right okay don't want to play this level
again okay okay but I did so good that
no it doesn't matter
I says binary you're either good or
you're bad that was bad there's a great
lecture Nene says there's a great
lecture about that from the people of
valve I think I mean about how to
introduce features in a way that works
out intuitively for the player it was at
the end of Milton's name courses here
lost meet you say yeah yeah I know valve
was great about that too with portal and
and half-life and those kinds of games
introducing features piecewise down down
pay so that we so that the player isn't
overwhelming that's just the general
thing that turns on gamers often he's
getting overwhelmed by too many things
at once
yeah like when people are talking well
your focus we are in a very we are in a
particularly rough level here hi long
before I came in were you still on this
level oh uh we just started yeah just
got no we did not gotten past this this
is the only level and done since aren't
you guys doing coincidence I think not
that will bring Korean accent Korean try
yet cream doesn't try he just does yeah
Wow okay okay burn do people play
fortnight at Harvard says bunny 26:10
I'm sure they do sure a lot of people
play for it I don't know tonight but oh
yeah much anymore if you go for tonight
oh you have to hold me and you need a
running start okay okay okay
major Fox is there they were explaining
the game portals Abdullah moment Elyse
is how to start with the game
programming um so the games course that
we teach on EDX so when you type jump if
you jump you end up in the hole again
if you go to that I just plugged in the
chat um well what was the name I first
did I lose the entire game you broke the
whole game Abdullah manali
the we teach we teach from the beginning
using Lua and love 2d which are very
easy to get into I think so try that out
and
unity is well according to 3d game
development is a very easy platform to
get started working on so try those look
into this a little bit it looks like
Brenda plugged the games course for me
as well thanks Brent appreciate that oh
you missed to go to direct eight one
from four to oh I guess you can go to
eight 1.42 apparently here Kareem why
don't you give it a shot and come back
in unless you get set up here we go
no I know you can go from yeah you can
skip all of the levels but we missed
that I think what it was when I went
high on the world for I shouldn't have
done that because the other warp is
lower down oh I see I got a little
greedy I really feel like there should
be something in there well it's in this
pipe the other one I think not that way
Oh next one okay okay if those get those
sweet 1up coins
66 out of 100 you know given that we
keep restarting we don't really need
these coins that's true that's cuz if
you get 100 you had a free life for
those unfamiliar would have been very
important back doing playing a game
legitimately in the 80s yeah but since
we're save scumming
I'd never heard that term record yeah
it's a more modern game term
yes and my Devi called it cheating yeah
so in the real game and we don't any
times we would what like thank you very
much first world
great Gary Greyhound and I apologize if
I actually missed other I might have
missed other people's names other
followers let me just verify that they
do like giving them a shout out
stressing me out that hard part's coming
back soon yeah can't believe I beat the
hard part in the night
oh yeah fronds upon Callaghan M Mac neck
day to Abdul moment Ali in Mossad Nathan
a and Gary Greyhound they show about
missing any other people yep that looks
like everybody we got home sick mom was
lost personally I remember oh this is
the one nice beautifully done very well
the master Jay as soon as you get up
we're back on our game the Jedi Master
took it home 8 - we just have to get to
8 for everyone yeah we thank you a
little bit stressed there milah was in
here earlier - she started us off with
the first few levels this is just a
trainwreck of things off of the gates
that's not very nice - Kareem and they
make you go all the way back to the
beginning well it's just of the level
sometimes some of the levels have
checkpoints but part way through no or
was that because we were but if you lose
all your lives you do indeed have to
start from the very beginning in this
game this was a design decision of NES
games from this era well they're also
probably wasn't much writable memory on
the cartridges early on some games had
it but I'm guessing it was expensive -
yeah women batteries were how they saved
they had a battery that would store a
charge that kept a certain portion of
ROM it kept a certain portion of these
wouldn't have been wrong but they kept a
certain portion of memory always on such
that it didn't function the way that
volatile memory typically does with
cartridges oh one up
Zelda actually was one of these might
have been the first NES game to actually
keep a battery for that purpose for
saving files we could do that for that
he said saved before I died oh man well
yeah no I mean back in this day yet like
you said there wasn't there wasn't
really an idea of saving memory was very
precious
it wasn't until battery safe became more
common in cartridges that that was a
thing and memory cards later for n64
Playstation and then now we have it just
on the hard drive on your console you
just saved files like a PC well it's an
interesting design question to UX
because there's got to be an inflection
point where if the game is too hard you
have to restart too many times people
are just gonna disengage yep never
finish the game and not think very
highly of it so games typically would
have continues which would be 10 seconds
to confirm that you want to continue the
game and you have a checkpoint and no
matter how many times you reach the zero
lives you can still continue from that
checkpoint and typically it'll be
farther back than when you start with
your lives but it's not the beginning of
the game which is obviously a much
harsher Union consequence of dying yeah
well it's funny even in in course design
when we've had exams on campus and we've
had a design tests or quizzes you don't
necessarily know how long certain
problems are gonna take and granted it's
a little different because most students
are gonna finish no matter what even if
it's hard they're not gonna give up or
disengage but it's hard to predict
sometimes how hard a problem actually is
even if you take it yourself or you have
some of the teaching assistants take it
in advance because they of course have
more experience than the typical student
right and so you kind of have to think
about how much scaffolding you want to
put into the questions themselves right
topic from yesterday because you don't
want it too easy you don't want it too
hard but it's hard to get things just
right and if you only have one shot at
least folks that are writing
standardized exams that are taken by
hundreds or thousands of students they
can try it out on small subsets of
students and then iteratively improve or
change them very nice I was very very
nice please win please with that breast
with cs50 we're always changing the the
is that key you want to save it here I
can save it here if you want but we we
always we we're always trying it out on
a new sample size of people with new
questions we don't really have that
opportunity right now very true and so
quiz quiz ready we can stamp run I think
you have to jump quiz writing week is
especially stressful I don't remember
now leap of faith Wow
Indiana Jones whoa okay that's the easy
jump sure now that you teed it up well
cs50 games on EDX is awesome you can
also check out Pico eight for some good
community and game programming
fundamentals yeah Pico it's super cool
so it's this such a very small emulated
computer that you can program games for
with a very small set of like a small
API but it's really cool they have a
limited palette you have to kind of do
take a lot of creative constraints into
consideration and focus more on the
design of the game rather than you know
being fancy with it I'll just finish
this level off for us huh thanks take it
at home 5000 nicely done
I've been finishing all the levels right
fireworks
not know if I work eight three three
four that we're not saving this tree
down whole day whole day there we go
nice actually
Pacman's a lot easier is it
it's just up down left right it's timing
but you don't have as much coming at you
from I guess you can sometimes get
yourself into a conundrum down left
right man the self pac-man is no saying
the best game was there was a pizza
place here called
three aces years ago we actually just
have a problem set on in an extension
school course I taught using the menu
and that we adapted for web 50 this past
year actually with a different
restaurant and they had one of those
old-school tabletop pac-man games from
the 80s where you could actually sit at
the table this is your pretending to see
him interested that was a very good idea
what he had in mind so he was he knew
there were enemies so he caught a shell
kicked it and so that it didn't go out
of memory
after it and it killed the hammer
brothers but there's a pipe waiting for
people that do that technique so I
please continue your story about you
want me to clean this up here we go
please but the funny thing was the
ergonomics are horrible like you're
sitting there you know in on a bench or
a barrel usually and then you are
looking down at a CRT that's looking up
at you while playing this game which is
miss pac-man or pac-man
I think oh I see I see miss pac-man more
than I see pac-man if my uh it might
have been I think I think miss pac-man
was a more this pac-man was reputed to
be the better game wasn't it yeah
because they had improved upon the
original I do believe so yeah I think
pac-man one sold more units but I think
miss pac-man was a was considered better
okay the worst is when you have a niche
that you want to scratch while you're in
the middle oh yeah yeah I know it's in
my eye huh guys no cheating
yeah whoo okay so avoid the void the
pipe problem but now we get the hammer
brothers robbing these guys dated hello
everyone says cool coder oh wait hello
thank you for joining us you can also
press a Plus start on the game over
screen to continue Oh a plus start so
that's the name of a youtube channel so
that's what that's what that's all about
really she's good so we should actually
try that as we get a game over when
she's trying hitting a poster I don't
know our friends in the chat could be
trolling us that could be the like erase
memory commands that's a very poorly
programmed NES it has a case nice jump
this turtles look so happy these guys
look less happy oh my god oh my god
alright this is a game over let's try it
let's start - it does it together yeah
Oh No
well they won't know it just restarts
the world okay the world so not the
actual okay yeah I think that was
something in the original I don't know
if it was in the original this is that
that would have been in the original
because that's part of this all you're
doing here is all the original ROM
being emulated in a virtual NES so CPU
cycle per CPU cycle is being being taken
into consideration let's say that's like
really does David have any siblings
this is whoops trick 23 just one small
family for resume purposes how good
would my skills in the categories taught
in cs50 be after completing the course
with a passing grade beginner
intermediate good etc I'm sorry mister
question well for resume purposes how
good with my skills in the categories
taught in cs50 be after completing the
course with a passing grade ie beginner
intermediate good etc I think
intermediate is fair to say for most
people advanced is possible if you've
come in with some prior experience and
you saw be novice with Super Mario
Brothers skills wait oh my goodness
intermediate is probably fair to say but
it really depends on the students and I
would just be forthright I would
generally describe what you have
experience with I don't think you
necessarily need to qualify things as
beginner intermediate advanced that can
come up and organically in conversation
or on any assessments you take or I tend
to use certain adjectives you know like
comfortable with or experienced with or
to sort of convey more actively to what
extent of familiar with something sure
and I mean the process of being
proficient at anything is kind of like a
never ending yeah certainly - and you
can always find new use cases for the
simple technologies that you know or
understand thirty years later I'm still
not very good at Super Mario Brothers
right a machine learning program to beat
the games that I was gabriel of people
have done that do you know that I am Not
sure you need machine learning you can
probably do this completely
deterministically by just watching the
patterns the
[Music]
are you looking to me for positive
reinforcement I'm to say that was bad do
better kuda bux is hi I'm the same guy
from Pakistan although I can't play the
game video play the video at the moment
but just came back here to tell David
how amazing a teacher he is what amazing
things you guys are doing about bringing
knowledge free to the world who would
have thought that people in developing
countries could one day take courses
from Harvard I completed cs50 changed my
life when to complete all of David's
courses that are online as
OpenCourseWare like CS 75 and 76 then
went on to take a few MIT courses that's
great no so glad to have you in the
class and those are some of the
originals now Colton's been describing
the game class we have the web class
mobile class and some of the
introductory classes too they be welcome
to tune in to as well all of those are
at edx.org slash cs50 there's a landing
page with all of them right there so
glad to hear it served you so well I
hope you'll forgive that I'm I mean that
sincerely even if my game playing status
state is suggested otherwise actually
knocked that bullet bill out of memory
by moving past it as it was traveling
towards the right oh yeah no I that was
deliberate the advanced advanced
techniques here on chat or on stream
Steve Jobs initially wanted people to
write web apps for Safari says Jewish
Rambo I don't doubt it I don't doubt it
whatsoever yeah a lot of what we now
take for granted was not obvious at
first many folks whoa
that was not obvious what was about that
so we bring in a ringer maybe see if
Brian wants to play - oh I just left
we're playing chess uh-huh
smarter game John says : do you ever do
live streams on you need his physics
system I've seen people debate whether
these rigid body and mass or impulses
versus translations on games like this I
haven't done a stream on the physics
system per se we covered some of the
stuff in the pong the 3d pong that's our
stream that I did we did a big I think a
lot of these games are defy what you
would typically need from in the world
of actual physics so it kind of varies
on how you want your game to feel so
it's kind of up to the ups for
it's kind of up to up to you as the
designer whether you want to use
accurate physics or something that's
that that breaks the rules using
translations I instead of impulses or or
velocity I think I think Colton's
currently hosting a live stream I have a
brothers time definitely agree sous-vide
is a life changing course so thankful I
was able to complete it back in 2015
thanks to David and everyone for making
this available globally and thank you
for staying in touch with us up until
now it keeps changing every year so do
feel free to pop in and out if you'd
like to see what's new Brenda says
Colton are you calling me a myth myth
myth yes hi oh did I did I say that
that's a reference to I never left pride
oh I apologize been probably 10 years
since I watched that back in the day I
used to go to the arcade every Wednesday
and I saved up tickets for the longest
time I got a glass chess set for 20,000
tickets
Jesus that's a lot of tape I was in
tickets probably weighs more than more
than you said James John I'm guessing
Nick Napoli's since we were just kidding
geeking out on some games I'd be
interested to get David's take on the
rust programming language and see if the
idea has been entertained and phasing
out hey see section of cs50 and
replacing it with rust
I don't know rust very well one of our
more advanced undergrad tf's has been
advocating or fanboying over it frankly
for some time catch Travis the Chad
sharp indeed who'll remain anonymous but
I'm not extremely rough with it I gather
it's gained some steam in the system's
community I'd have to take a closer look
to have an opinion I'm not sure we would
change course when it comes so to speak
no pun intended
when it comes to C given that most
languages we look at later in the course
are derivative of C but not opposed I
would love to have Chad on actually for
a trusted stream I think that'd be super
cool I've heard a lot of good things
about it I haven't used to but no chance
ya know everyone that likes rust seems
to really like it yeah that's okay I
think it was the most loved programming
language 28th 2017 wasn't it on
stackoverflow something like that after
this let's say let me see if I can help
Kareem here
holo night best 2017 game for me Alex we
have real live to get holla night being
a platformer similar in spirit but more
open super meatboy is another great
modern side scroller a racer yes super
meatboy is extremely well made extremely
famous chef it's a edmund mcmillen for
his design skills that was long
that was luck that should not have
happened
I know passes for 84 it never went no
force is Babic 1974 Arun Kumar Mario's
are my all-time favorites what's your
favorite game is a child professor David
definitely more Super Mario Brothers 3
actually this is this game was fun this
was the sort of introductory to all
side-scrollers for me and well that was
BS I know it happened last time - yeah
did you fight if I just wait him out
will he get tired oh we could bring in
the Rodrigo after this deride Riegel
himself you could say we have the
technology but the other games that I
looted - earlier the Sierra online games
King's Quest Space Quest police quest
were amazingly engaging for me and I
genuinely looks used to look forward to
the sequels coming out of those games
Mario just kind of existed I'm not sure
I got into it early enough to know or to
have a sense of the sequels coming out
but I think three is I mean one of my
favorite games of all time Super Mario
Brothers 3 and frankly I think it's a
top a lot of people's lists of gifts
best games ever it is it is very much we
have then we have the ability we could
do a follow-up see we're brothers three
two was fun but it wasn't nearly as
addictive in the same way
oh you want to say it yeah what just
want you over I would pac-man level one
yeah yeah super my position with you
cool follow up I actually haven't been
seen my best 3:17 I would go playing I
would very much like to just experience
that game you've never played super rich
I played through the first two right
there on the baby of the first two
worlds not having having beaten it I
don't know if I've ever beaten it I'm
okay
all of our chairs are interlocked here
so when you spend I spend oh okay but
you got to stay on the street I didn't
realize where it was okay yeah okay but
you kind of are if this is the first
time you've ever played today bottom
Middle top top little top Oh are we that
far behind I think that might have been
when we were going through the dungeon
Oh No stay on top of the stream that's
how the level is meant to be one I think
oh they had a GameSpot link that shows
the map I think well we figured it out
the old-fashioned way we did we did
saving and saving and saving I'll keep
staying behind us a weekend oh we can
figure it out herself
if only they read it now huh Oh actually
they might have been a little late
actually I missed having a Nintendo
Power subscriptions been reincarnated as
an official podcast now really that's so
trendy yeah so it's a way definitely a
good way to do it how many of them are
there you realize you're on the second
one there's at least two Rodrigo what
math classes are CS students required to
take at Harvard calculus do you have
some discretion but it boils down to a
little bit of calculus multivariate
calculus and a little bit of linear
algebra that will perhaps change over
time as the faculties currently
rethinking it wouldn't be surprised if
something more like discrete math comes
in instead as opposed to those two or at
least some combinations so that it's
just one class instead of a couple
please teach operating systems crying
face bible thump emojis what's called
reference to a game
I I'm not sure I have the expertise I
did take in OSS classes and undergrad
years ago and it was my favorite CS
class ever I think after cs50 or even
ahead of cs50 once I discovered it okay
this is def this is legitimately hard
that would be a hard class to create the
curriculum for I feel like that's comp
very very dense and complicated I'm not
up to date enough on that but I think a
lot of the building blocks you learn you
would at least in our day we made our
own shell we made our own memory
management system so that implementing
malloc essentially ourselves and free
wow that was quite I was gonna jump
usually like the systems classes
yeah well years ago some of the material
was factored out of what is called cs161
here the operating systems class into a
lower-level systems class more
introductory class and I presume they
added to the OSS class as a result but
yeah back in my day we did it all it
wants but it's reputed cs161 in Harvard
to be the highest workload of all
classes I mean it is legitimately 40
plus hours a week every other week
typically depending on how the class is
structured you typically work with a
partner and each of you is putting in
those 40 plus hours but it was the first
time honestly that I was able to have
the experience and really the challenge
and the pleasure of working closely with
a partner a buddy of mine where we would
meet sort of turd the start of the week
in a classroom with a chalkboard and we
would design our api's and I would agree
to implement XYZ and him ABC and then
literally if we were a functioning team
we would come back to the table later in
the week and he could just call my
functions I could call his and it just
worked and it really spoke to the whole
principle of API design I would think so
these days I I would defer to actual
students but 161 I do think still has
the higher we're all 161 yes
whip shakes as Colton likes games yes
very much very much so I like that old
video interview with Bill Gates as Jay
Vardhan law now he and Paul Allen
compiled basic by hand on an airplane
and how users had to manually remove the
code for exponents powers to run on
lower memory systems
well boot Gates is reputed to of having
said you know who who what was the quote
who needs more than 64 kilobytes of
memory some years ago awfully ironic for
someone of his insight but you know
favor there you go easy P this we call
the ringer why didn't we do that the
whole place let me play yeah trying to
get you know trying to get everyone
involved right well done oh is this
about sucking at Super Mario Brothers 10
it's all about the $10 hey to the other
students the first computer I tried to
use could not stream anything what is
happening here
hey Kareem we only have one life left
take us just pitch hello world huh I
only have one life left
yeah I know no we did oh we didn't see
it at the start of this yeah this is
easy-peasy
try to make your
orna udemy has a great core has great
courses on unity as well epic night
cream is the champ thank you today he
literally just did this is this is back
a little ways okay speaking of Bill
Gates I thought it was cool that
Microsoft created the first games on
Windows 3.1 to teach people how to use a
GUI going from dos to a GUI must have
been rough what do you practice think oh
you saved at least let see how you do it
you got to start from yeah yeah the GUI
programming as we take tickets for
granted was such a novel thing when it
first came out that was a gamble I
thought I might have fallen I thought I
was holding my breath to see if my bluff
pulled off oh I didn't even see that
really fantastic talk on jumping physics
and games like Mario now to implement
them better in engines like unity
awesome thanks for that John I'll take a
look at that Edward Hyde hello folks
thank you for joining us naked pull he
gets one up this is looping isn't it
gets one up promptly dies I think that
we did that much earlier oh yeah we
demonstrated that earlier MIT released a
humble bundle on the strategy and
psychology of building difficulty
mechanics and levels in video games well
that's pretty cool Humble Bundle is like
it's cool they would have a lot of these
really good deals on collections of
stuff games books Jewish Gramp okay show
us a sample quiz question please see at
cs50.tv a sample app sample quiz
question yes we can
let me see once I turn things over to
Kareem I can try to google and find a
link to paste into the chat
I feel like a kid again where I'm like
postponing doing my chores because I'm
playing a game
it did your turn okay are you gonna sure
let me just Google wall cream yeah you
have to figure out the pattern before
someone in the chat tells us
[Music]
Shantanu koji kondo the composer for
Mario games quiz just quiz
let's have right here hate that bad boy
in there
there's the quiz from two years ago and
you'll find that the types of questions
that we ask are meant to be not
necessarily assessment focus but rather
instructive and inviting students to
apply some of the topics they're
understanding some of the topics we've
explored two new problems as well as
receive new information and learn that
topic and then produce output as a
result see what do you think about the
guy that programmed an AI to beat this
game tracking all the patterns of the
enemies and knowing when to jump
etcetera yeah
from what I understand that was a that
was an application of machine learning
he actually had the AI adapting to you
know just the sample set of OD a given
another link yeah go ahead okay the just
playing the game and getting a sense you
know figuring out well how did I die
what did I encounter and sort of oh I
guess we do have a link to it called
machine learning it's called machine
learning Mario is the title t-that was
one of the questions we asked that year
there's a brilliant write-up in a blog
about how this worked yeah although that
was focused a little bit more on the
generation of levels too as I recall but
check out that link that we just pasted
into the chat don't hit the monsters
it's okay
don't hit the tree either
okay do the opposite of what you just
did what was your high school GPA high
school GPA I don't know I think it was
high that's not helpful I'm sure but
it's too humble it was probably
something ridiculously high in 5.0 I
think we had a four actually did we even
have a 4.0 scale there might have been a
conversion I don't know if we even had
GPAs in high school and not all schools
use numeric scales did you go to private
or public high school a small private
school Rodrigo you went back inside
I mean sure I'm still trying to figure
out what the pattern is yeah change
science and technology to Super Mario
it's a category I don't think we can oh
we can do that we can change it to Super
Mario that's our category yeah that's
actually more fun appropriate can i crap
go back to that and to figure out how to
do that
I don't want to report it now the chat
now I have the chat I'm Way behind on
the chat but I can you have one job
the unfortunate thing is that the chat
RIA it deletes I got you set up thanks
Edward Hyde dinosaur call and Carter e1
thank you for following down Dante I can
clearly tell David is having the most
fun said whip streak is that facetious
yeah there's a tournament between you
guys and ask you guys anything the first
computer I was on seat frozen the entire
tennis and we show what's happening kind
of it's gonna bad I guess it's no we've
actually been on this level that long
but yeah it's kind of a flexible AMA
slash you know it's a Thanksgiving sort
of special video play some games since
twitch is a gaming platform it kind of
feels appropriate to do a little bit of
this to that's what we keep claiming
yeah
can you have a tournament oh man I don't
know if I want to compete in that
tournament that's where your damn it
might actually win is $10 for math
classes trig is handy for movement
calculations and unity and every other
engine yes anybody remember LucasArts
games The Secret of Monkey Island was
amazing it had massive amount of 256
colors how interesting I haven't played
that but I didn't remember
LucasArts I remember the logo kind of
appearing they were they were like serie
they came they noticed point click
adventure games yeah I can't remember
the names that I did play but oh maybe
this one have gone down that one thing I
think you're looping again yeah so if
you go to that one I've gone to that one
but I think you might have to go at a go
through them once and then go to one to
maybe go up and then down you go go back
around oh wait this is yeah is it yeah
okay yeah those are those armored guys
right
okay hello it's like ah does everything
are colored again okay you're gonna have
to jump up on top of one of these guys
and get up top and get into the pipe oh
yeah yeah yeah at least I think I
remember which pipe that was well I use
a lock dude that's okay that's okay we
can unlock it okay so get it down down
and then unlock it so when you go
I just means you can't override it oh so
prevent you from accidentally erasing it
I do remember where yeah it's not this
one Khan Academy has fantastic free
classes on all kinds of math and
sciences yes very much love conic dated
and you play broken age their last point
click adventure no I have not played
that as lead such an app but I have seen
it I think it's pretty well-received
hunters taking so long to figure that
out it's like right at the beginning
some says please play Mega Man 1
did you play Mega Man no but I remember
this sound Thank You Man Man I don't
remember that was that commercial I
don't know whoa
but I told you what to do there you go
they do that what happens if you just go
past them do you loop again could you
stop walking the low I I'm just testing
all right here we go take to this like
at least three LucasArts made the best
stuff Knights of the Old Republic and
Clone Wars and the first base technique
system a battlefront famous let's trick
: to making an online point-and-click
adventure game I'm not sure what that
means
nobody didn't I do remember Grim
Fandango but don't think I've ever
played Oh grim fandago was really good
seriously I forgot exam
so many games like didn't play as like
have a tournament since look Street 23
well there are a lot of yeah people are
saying a lot of game they're saying get
Brian
unfortunately Brian left but we should
have definitely grabbed him earlier
Brian who plays games like chess he's uh
he said he was just learning but then he
almost be yeah that's what he does well
I didn't want either we we drew
can someone tell me what's happening
other than mario and why is it happening
well this is our Thanksgiving special on
Twitch see this video on Twitch I think
we can maybe frame this one as like cs50
plays cs50 plays to assure just keep
find something that works yeah but oh
yeah I'm saving here but ya know it's a
this is a much more relaxed stream sit
down that whole day I hold this whole
day and then pressing it one more time
so yeah we're playing Super Mario
Brothers cs50 teaches nested loops using
a Mario based example so it also feels
about apropos with regard to the courses
curriculum in some sort of loose way
okay you just get rid of these guys okay
so there's a blah there you go get up
there there you go nice no go back up
nope okay no easy part there you go I
did it you want to save it here yes
wait let's okay there we go it's a down
whole day I can't press a save
technology is the key feature of this
game that's a good crutch to have
otherwise this would be painfully long
whoa
oh hey friends its surprise attack from
behind just stand there that's 50 bird
what's 50 bird doing yeah that's true so
that's another game that Colton
introduces in the games class which is
inspired of course by flappy bird yep
they're called cheep cheeps in Mario I
think I just went all the way back I did
go all the way back okay let's not do
that again
but we know what to do now going down
here that's glitchy yeah it's a bother
every time I didn't realize you could
actually go backwards
nice Wow avoid the monsters alright tell
me where not to go
did I know that's that's a lie
that's you just keep going I want to do
this one this one do you just keep going
or is it does it looper well it's gonna
blow okay I'm gonna say that is not
expected a whole day yeah so is that
like the amount of time that that we've
been playing 59 looks like we glitched
the game out okay your turn what I I
think that is the amount of time we've
been playing f15 wells of an amount of
time at a time that the the that it's
been keeping track of it's like our so
it doesn't it doesn't keep track of a
real time that's the amount of time that
that save up to that point which part of
the fire was not obvious I don't know I
don't even have an excuse for this one
okay nice nice nice I learned my mistake
what I have to make them first I can't
run but do you have to make there we go
some mistakes you don't need to make it
last right all right we're gonna save it
here well yeah okay
cuz I got a little
Wow nice night wait wait save it after
she jumps over this oh this is the boss
battle okay I got this
you're about to win the game yeah on
your first time playing that's
unprecedented
you hammers okay I'll try and then cream
we should go round-robin here oh well
that Kareem go next wow I feel bad now
Wow
I didn't mean to win we saved it we can
undo your quest is oh wow can we think
is actually the quest wait don't party
and be to select the world press me yet
let's wow this is unprecedented for me
alright it's nicely done
sorry we got a little less chatty cuz we
got a little engrossed in this game here
okay oh do we
wait is this where you hit B and then
you played the whole thing again as
Luigi and what yeah you can play it
Luigi did you hit B ha now we have a top
score look at that 270 190 that's good
let's take a picture that's how it's got
50 in it world to one so no no let's go
how do we hey I think you hit a lot yeah
all right there we go
shown us to taking pictures of monitors
and trim screenshot well what happens if
we you play again anything try it see I
try to press a but no you have to press
Start Oh
both ones one I think we but yeah there
was something different I think you can
play as Luigi maybe
or is that too modern you can play as a
week jest with two controllers I'm not
sure how oh it's different this is super
advanced yeah it's buster and
okay you can literally hit three blocks
you're not hitting any of the three and
now you hit the one you're not supposed
to all right it's bad karma for not
letting three what's your view on TVB
test-driven design I think if it works
for you great I think you gets you into
the right mindset of actually developing
tests and making sure you actually
develop those tests I think it helps you
code all the more defensively but it's
just a very different way of starting
out then I think most people are used to
heavy load I hope gaming stream becomes
regular at least minutes a week I don't
know if we can justify this once a week
I play on chess comm go-cart Awana
thanks is all programmers for player
tips lifetime we did win Thank You
nuwanda for the nice nice compliment
there what's our rating I think we're
the only ones that have ever played on
this specific console so we're winning
these all helmets yeah you're right
that's what we're finding here all the
little Oh more difficult characters yeah
that's cool hello ApS Knight no no not
discussing computer science today but
only today it's a Thanksgiving week here
in the in the US and so we're taking a
bit of a respite this week with some of
the course of staff to take a look at
Super Mario Brothers 1 on the NES
console which we use as inspiration for
cs50 zone problem set one to be fair we
didn't talk quite a bit about some
scenes we did along the way Indy yeah
absolutely and then of course
importantly gravy wave one two three
says poop API what is this we have had
yeah we have had one of our more
consistently high viewership today yeah
what does that say we've had more people
tuning into this than the actual
computer science content
I think that's okay ever it's it's
Thanksgiving in a lot of states here so
perhaps some folks are taking a break
too I think I think the plan is now so
we beat Super Mario 1 we may have a
scream is still playing but that's okay
we may have a follow up stream gaming
stream maybe some Zelda or Mario 3 and
they'll be pretty fun
currently with the the emulator here we
can do things much faster we can save we
don't have to go through because this
would take up taken is probably a week
to get through the 30 years but with the
power of technology and computer science
we were able to beat this game in less
than two hours but yeah I think that's
gonna be it I think for the stream we we
kind of just had the plan to play
through actually we went into it not
really thinking we'd beat the game I
think it's kind of like we have very low
expectations of ourselves yeah we
actually I think we originally thought
we were gonna take three hours but we
only took two hours less than two hours
that's not bad 59 minutes according to
my account yeah but no thanks everybody
so much for tuning in this is our
Thanksgiving special if you will happy
holidays to everyone celebrating here in
the u.s. in particular yeah we'd love to
keep doing more of this kind of content
but next week is the most tedious way
broadcast next week we'll have Nick Wong
myself and some other folks
I remember offhand exactly what Nick
unforgettable streams coming up next
week but join us next week for a bunch
of cool stuff it's Thanksgiving so if
you're in the US or abroad and are
celebrating Thanksgiving or you are not
celebrating Thanksgiving happy
Thanksgiving we're thankful for you
joining us on so much Virginian thankful
to rob geo cream and David for joining
us and being a part of the stream it was
a lot of fun I enjoyed it very much I
didn't get to play oh yeah I very much
was entertained and I enjoyed I am
Manning the chat if you will and the the
reset button on the day to go hardware
very good so I did maybe I can 85
percent or job on the on the
it was it was it was acceptable but yeah
thanks so much everybody this was let's
let's let's do this the right way let's
bring us into thee you've probably heard
the sound cut out but this was cs50 on
Twitch our Thanksgiving specialist with
cs50 plays twitch starring see us with
these own David Malin and Rodrigo
two-point Sanchez and Colton Ogden and
we will see you next week so have a good
holiday