Placeholder Image

Subtitles section Play video

  • I'm still feeling like someone's with me.

  • I know Tom is on because I know you're out there somewhere.

  • Patients waiting on wear feeling like your grip might slip chasing speed and I'll be right there.

  • You're be lead me straight to the O I know.

  • Wait.

  • All right.

  • Hello, world.

  • This is CS 50 Live.

  • My name is Colton Ogden.

  • In case anybody's brand new to the Stream saves 50 is Harvard's intro to Computer Science.

  • Top by David Malin This is our stream where we do all kinds of fun stuff.

  • We build things from scratch.

  • We talk about things like Callie Lennox, which Nick Wong from Yesterday Stream happened.

  • Help us out with on a bunch of other things.

  • Talk about libraries, Talk about Webb, talk about games, all kinds of stuff.

  • But today is actually very experimental.

  • Today we're gonna do something completely different.

  • We're gonna kind of evolved from last week's text adventure game that we did, which was basically the gist of that was the chat wrote all of the text adventure lines in the text adventure, including branching paths and whatnot and sort of I didn't really I have too much of a say in the process.

  • I was the, I guess, sort of the person in charge of writing down everything, compiling it, really compiling it, but running and making sure that everything went according to plan and, uh, off of that idea.

  • What if that would be really fun?

  • Really interesting is to actually take a step further than that.

  • Let us write a Python script from scratch, maybe multiple python scripts where the only thing that basically the only lines that go into the script are what the people in the chat actually end up writing.

  • And this is largely, like I said, an experiment.

  • And so I'm not entirely sure what the best way of doing this necessarily will be.

  • And maybe we'll d'oh several versions of this and we'll iterated on it and build it up and make it better and better over time.

  • The actual flow of this but today is gonna be just kind of trial and error.

  • We'll see how this works out.

  • I have an idea as to what I want to dio how I want to actually structure this, but we will.

  • We'll see if that ends up theoretically being or actions that tangibly being as good as I am thinking it will be in my head.

  • But thanks to everybody who is in the chat, we got a ton of people that they're already in here, and some people were asking if we're gonna be using a chat.

  • But for this we will not be using a chat.

  • But for this it's, I think, theoretically possible.

  • But there are some issues, especially with python being a indentation focused language people would have to write.

  • The people wouldn't need to be able to write back space and what not to like Deion Dent or shift tab, or what not?

  • And those would be considered asking escape characters, probably in the in the chat bott.

  • And so that would get a little messy.

  • But I think in theory it's possible, so we might explore that at some point in the future no promises there.

  • We'll probably do a more manual sort of curated approach in the short term, but thinks everybody is tuned in as lead bad.

  • Ignite liquid.

  • 13 Rome Ork Ah, meet.

  • Haven't seen a meet for a while.

  • Greetings from India, Some rot.

  • J.

  • P.

  • Guy came in and asked me how scared of my from us on a scale from 0 to 9 about how weird the code might get today.

  • And I'm actually not scared because we're gonna be curating everything.

  • But I think of this work completely automated.

  • It would be a little bit a little bit intimidating.

  • So here's the idea that I have.

  • The idea I have is that I will basically right in.

  • I'll have a marker, I'll say.

  • And this is just a test.

  • But all basically right in peek at you like this Whips can't type for some reason there we go.

  • A little bit of a delay.

  • So when I write Pikachu, that's like, they're ready, Set, go.

  • And then what I want people to Dio is to write in we're going to do is we're gonna kind of structure.

  • So here's my idea.

  • Here's my idea.

  • Someone switched on my computer before we actually get started out before I start writing any code.

  • But this is my project.

  • I was going to create a new file here.

  • We'll call this test one dot pie and python extensions recommended.

  • That's okay.

  • What we're gonna dio is kind of reserve slots.

  • This is my first iteration that I have because I realized if we don't do this, we run the risk of just absolute chaos.

  • Like whose code goes in front of whose code like it won't make any sense.

  • And so it makes more sense to do this kind of step by step and actually go line by line.

  • And we can't even talk about this.

  • Use this as an educational experience for some people with ABC first time joining a twitch Lifestream ever.

  • Well, you chose an interesting one to be a part of, so I hope you enjoy your time.

  • But the goal is gonna be I'm gonna say peek a chew.

  • And then what?

  • I want everyone in the chat who wants to contribute to the code, what I want them to do.

  • And this is being a little bit sluggish right now, but I want people to write in.

  • I think this is a emoji that everyone has access to the Mr Destruct oId.

  • I want three of those.

  • This is this is basically inspired by some Route 61 92.

  • He wrote that up above.

  • So whoever wants to write code as soon as I write p ca choo.

  • I want three Mr Destructor it.

  • Then what I'm gonna do is I'm gonna say Okay, so line one is going to be reserved for well, say so.

  • The true king niece.

  • What?

  • First, Right.

  • So the true kidneys gets the first line and then we'll sort of write out the list of exactly everybody's doing a great job in the chat.

  • So we'll do that.

  • We're going to structure the lines based on who writes.

  • There were three chats there.

  • Three Mr Destruct.

  • Right Emojis in the chat first.

  • That way I can visibly see very easily who wants to contribute.

  • First of all, because cold calling on people didn't seem to work to over the text adventure.

  • So I'll call on whoever wrote the three robots and will write their lines.

  • They're used names out in comments, and that way we can see line by line, who's contributed to the program, right?

  • And if we get to the end of the Mr Destructor is or whatever, we can call piggott you again and get more in foot.

  • So that was just a test because there's explaining it.

  • So we're not That's not gonna be the official set of user names yet, But whoever just contributed whoever just write your Mr Destruct Lloyd's in, Um, get ready for the for the next speaker, chew.

  • Because what I'm gonna do is I'm gonna look for my picture emoji in the chat.

  • I'm gonna go after that and start pulling the name.

  • So anything before the picture, I'm just baste again.

  • Ignore.

  • Um, Andre the ground rules is as soon as I call Pikachu.

  • If you want to contribute to the Python script, I need three Mr Destruct arrayed emojis from you because that visually going to use that as an indicator to see, um, you know who wants to contribute to the code?

  • I'm not not cold calling on people today just so that I don't put anybody on the spot.

  • And people, maybe people are busy.

  • They don't have time to come up with something on Lee.

  • People who are who want to contribute.

  • All right, so hello, guys coping And Colton's chair.

  • That's money.

  • I'm gonna go ahead.

  • I'm gonna call peek atyou, And as soon as I call Pikachu, I'm gonna put the list of names together, and then I want the list of names or put together, We're going thio one by one, line by line.

  • Go through it and build up a python program.

  • So here we go.

  • Ready?

  • Uh, 123 Peek atyou.

  • All right.

  • J.

  • P.

  • Guys first.

  • Nice.

  • So I'm gonna start putting together a list.

  • So the J P guy lips v ruthless v.

  • Ava's Shaw some rot 61 92 and murg missile.

  • Um, I apologize if I misspell your name.

  • So has are trying to make sure I catch them all.

  • We'll do this just for a minute or two.

  • We're not gonna have to.

  • Oh, did I miss disco damaged?

  • I did.

  • What's That's my bed after this go imaged.

  • So how's your injured?

  • Uh, hey, White out 16.

  • Scared to sign up for a line, and I don't even know what the program is.

  • We haven't decided what the program is.

  • That's the beautiful thing.

  • Um, m r t n c.

  • And Mr Tank Thorn in Russia at the time pronouncing the name.

  • Uh huh.

  • So we're really all in on Pokemon?

  • Uh, just using it as an indicator for today, I guess.

  • Um, Budanov, if you have ah, small problem and It's not related to the stream.

  • Just hit me up off to the side.

  • But if it's related to the stream, feel free to Ah, free Teoh Right there in the chat Babak night.

  • There we go.

  • You're doing code lines.

  • True Guineas.

  • So, uh, you will You will be telling me what you want written down in the form of a code line.

  • So you're gonna have to write the code line out, Mister Mister Tank Thorne wrote it again.

  • So we will, uh, get as many people as we can before we start taking duplicates.

  • Luigi's in the chat.

  • Shen Long Shen win is in the chat.

  • Um, that's already 12345678 That's like 11 10 Arts tent literally tunnel.

  • It's written on the left side of the text editor 10 lines.

  • Uh, okay, so if you want to start with 10 lines, that's great.

  • Okay, Shep Official Cool.

  • Shub H Official 01 That's 11.

  • When there will be a stream about problem solving checking code.

  • That time I'll post my problem.

  • Fine.

  • Try it now.

  • Test run Devil lobby.

  • Ship it.

  • This is a beautiful program.

  • So far, just a set of comments.

  • I'm quoting Project one for states 50 web, all watching this also Bunny on run.

  • I don't think they already so just didn't know