I´ve almost completed the Breakout assignment, with no previous experience in programming until I started studying these videos from Stanford some months ago. It´s amazing what a good teacher and hunger for learning can do.
@johnbeal659211 ай бұрын
what are the breakout assignments ? How can I get them?
@leep348810 жыл бұрын
The ball program is absolutely mind blowing when he ran it. The physics and nature of the bouncing was so lifelike. That was the best animation i have seen in my life of a ball bouncing.
@rockstarkate7810 жыл бұрын
This class is very rewarding. I feel happy when I figure out how to complete the assignments or the exercises in the book.
@jaimegarcia908810 жыл бұрын
I agree. It feels great to overcome every new roadblock in the book (and in the Assignments). Seems like we're making the same progress btw; just saw your previous post in the last video. ;)
@rockstarkate7810 жыл бұрын
I got behind a little due to travel, but now I'm working on finishing the breakout assignment before moving on :)
@darrenallen77310 жыл бұрын
Hello, I am just curious how you both have been making out? I am trying to go at this but sometimes a small problem can take hours of working our before I see it. I am currently looking for a group that would like to go along with this(may not apply to you guys, your progress may be done) Would either of you every be opposed to the odd question here and there, I understand if no but sometimes the problem is as easy to solve as ___can't be resolved, I wish he had gone over a few of the trouble shooting methods sometimes.:(
@bigdirtyoutdoors518610 жыл бұрын
Darren Allen hey if you still want a study buddy i am also working onthese classes i just got to the breakout assignment myself.
@darrenallen77310 жыл бұрын
I have yet to start trying it but the breakout assignment is the next thing I am going to try. Have you been following and doing the assignments in the book "the art and science of java " I was having some trouble on the questions about the random number generator and the strings.
@JesseFarebro13 жыл бұрын
Amazing Teaching I have never seen a prof like this. Keep it up Mehran!
@ink54739 жыл бұрын
I love this guy man! Awesome, Standford is so much better than Berekely
@frostypawsgaming13388 жыл бұрын
Yeah.... I wasn't feeling berkeley either.
@FFWDEntertainment14 жыл бұрын
I want to be a professor one day and I will look back at these videos as a standard to teaching
@karankumawat34823 жыл бұрын
Did you become a professor?
@sujitroy42362 ай бұрын
@@karankumawat3482😂😂
@AaaRrrLllUS10 жыл бұрын
The best Professor. Mehran............
@Hjjayk10 жыл бұрын
Mehran, you're awesome!
@dacherx14 жыл бұрын
I like watching these with the transcription. The transcription also includes cut out part of the lecture where he talks about homework and section example.
@davdusmc11 жыл бұрын
Lecture 10, the first lecture with less than 100K hits as of 7/13 working on breakout and have read about 110 pages of the book looking forward to finishing and moving on to abstractions
@grunder2013 жыл бұрын
a great mentor and lecture!!
@0ElectroMad013 жыл бұрын
thank you Mehran :) thank you Stanford ... great course
@Bajtjr14 жыл бұрын
Awesome teaching. I will defenitley help myself with this during my study
@bymurat9014 жыл бұрын
First of all, I really adore him, by the way I just realized something in ' 42:27 ' it 's actually definition of being tired :-) Thank you so much Mehran ;)
@Dr.HassanMostafa4 жыл бұрын
there is something wrong here at 41:35 to center the y parameter of a GLabel, you have to "ADD" the canvas height to ascent of the label then divide them to 2 as the origin point is at the far left at the "BASELINE" not the far upper left point as in geometric shapes it gonna be like that .... double y = (getHeight() + label.getAscent()) / 2 .... note that the y axis direction is starting from above to bottom.
@dear_saturn16 жыл бұрын
This is kind of interesting to watch. I feel doomed knowing I will never get into this school.
@taoliu63343 жыл бұрын
Note: from 13:30 the rest of class is about Graphics.
@stephenprofullobala50165 жыл бұрын
29:07 the difference between interface and inheriting from class
@flowewritharoma14 жыл бұрын
great awesome lecture.
@Grym9913 жыл бұрын
@rugovit If you look in the desciption for the video, there's a link to "CS106A at Stanford Unversity:" Then click Handouts to the right side
@Twarter36914 жыл бұрын
In your init method add an event listener that when called runs your ACTUAL init method...or you can add "wait For Mouse Click"
@TheMichaeljmanzelda11 жыл бұрын
Try watching at 1.5x speed. Super Sahami!
@88ahh11 жыл бұрын
the art and science of java
@Dr.HassanMostafa4 жыл бұрын
I have bounced the ball many many times, Mehran is too cruel to not repeat the bouncing ball to these poor students. I can't imagine how they had resisted the urge to see it bouncing again. at 38:38
@MrRichersoon import javax.swing.*; and JFrame frame=new JFrame("any");
@Artilla201211 жыл бұрын
awesome stuff again.. this .acm libery is a libery used @ stanford.. to bad tho..
@SuperMasenka15 жыл бұрын
hey guys,im having a problem here when i run this applet..it says here the serializable class BouncingBall does not declare a static final version serialVersionUID field of type long... so i do one of this quick fixes(i tried all three of em) and applet still does not run how it should,someone help please
@ezequiel200611 жыл бұрын
Declaration the variable of instance after methods. Do not know.
@TheRoostercogburns12 жыл бұрын
well my guess would be that u havnt made it reverse its y velocity in the opposite direction
@urbansilhouettemedia11 жыл бұрын
You've got to marathon watch... get some coffee and open eclipse!
@ignaciocorto10 жыл бұрын
And here it is: the moment where a lecture does a big cognitive jump
@VictorNovoselov9 жыл бұрын
Thank you
@phartatmisassa503511 жыл бұрын
Bricks, could you center them? I got mine changing colors with pause(PAUSE_TIME) and setFillColor(Color.arg1) etc. I want to make a character dance and at the end of each "move" the resulting position of his body will leave some possible methods he can start from, and random generator will pick which method or "dance move" he will pick next, and in that way he will just keep on dancing pseudo-randomly.
@Anteas00112 жыл бұрын
Is there a handout for this? What's the number? Thanks a lot.
@skazis8712 жыл бұрын
me three! it was hilarious.
@Jma032212 жыл бұрын
I'm working on breakout and I added the bit of code he uses at 38:32 to keep the ball from going through the floor to improve the way the ball in breakout hits the paddle, but it just makes the ball appear below the paddle after hitting it. Anyone know why?
@erikid24712 жыл бұрын
Anyone else have problem with making the Breakout problem, i can't get the Mouse listeneres to work. I think they are outdated
@jrM54926 жыл бұрын
Well I still think that by that line of code, it'll find y coordinate at top left of the 'hello world'
@rugovit13 жыл бұрын
where could i get these handouts? or if anybody has them could you pliz send it to me
@warnexus13 жыл бұрын
i type the same code but it not accepting the BOUNCE_REDUCE. i get an error saying BOUNCE_REDUCE cannot resolve to a variable
@sahibsinghlol11 жыл бұрын
hey, could you please tell me which book he's following? I skipped the initial 3-4 lectures, so dont really know.
@mselaineryan11 жыл бұрын
19:13 - "So that's how we'd say it to sound real funky and get paid more money."
@SigmaChuck14 жыл бұрын
Does anybody have any clue how to implement a "type any key to begin" functionality to the breakout program? I'm working through this course on my own and I've completed the required portions of assignment 3 but would like to make the game more playable.
@sahibsinghlol11 жыл бұрын
Thanks!
@Thegamer-yp7qq9 жыл бұрын
but how we can import Graphics program and Gcanvas. ..?
@unknownknown3609 жыл бұрын
+The gamer well u import the acm.graphics library and u just use GCanvas in the class
@jimmypoopap11 жыл бұрын
Check here: stanford. edu /class/ cs106a/ These notes are from the 2013 class (current) that is not much different from the video class.
@vesperiaLSU11 жыл бұрын
@Chen viewed!
@rammaganti840811 жыл бұрын
Does anyone happen to have the lecture notes from this course?
@6502-Coder11 жыл бұрын
These kids want to be Computer Scientists yet cannot follow one simple instruction... USE THE MIC!!!!
Nope, it does reverse its y velocity. That wasn't the issue I was having.
@karthick222910 жыл бұрын
Really interesting one. but where can we get source code for this program(bouncing ball )? Anyone please help/
@MereLee10 жыл бұрын
You really need to read the video descriptions/comments more often D: But to answer your question: see.stanford.edu/see/materials/icspmcs106a/handouts.aspx
@jadelaw70910 жыл бұрын
it's on the see.stanford.edu website where the materials for the class are: see.stanford.edu/materials/icspmcs106a/21-bouncing-ball-example.pdf
@karthick222910 жыл бұрын
MereLee thank you very much to MereLee and Jade Law . timely help .
@bogdanpanici50109 жыл бұрын
+Jade Law Thank you
@antirealm16 жыл бұрын
reminds me of an app i made when i was like 12 in turbo pascal
@mohammadkarim57643 жыл бұрын
I hate toString().😫
@roysarit12 жыл бұрын
check out see.standford.edu. there u'll find this course and all its related study materials...
@hakimh.492912 жыл бұрын
"no one can touch your private parts, its private" Yup thats why you do java :P
@navids2012 жыл бұрын
HD por favor
@megametalpriest14 жыл бұрын
who needs college when you have these :d
@Vinicide11 жыл бұрын
Did the guy who asked about the filled GArc get a candy?
@rugovit13 жыл бұрын
@Grym99 i found them later, but thanks anyway
@karnanigam5 жыл бұрын
extends graphics program...? anyone!
@osmankhalil3395 жыл бұрын
download the acm package and include it to library path
@hetaeramancer2 жыл бұрын
@@osmankhalil339 isn't it deprecated now? i've downloaded the acm package and did the importing, i got nothing but errors.
@debit25613 жыл бұрын
18:51 HE DISSED BIZNIZ PPL u can hear em go , "ooooo~~!!!!"
@Ely-qh8iv9 жыл бұрын
Get funky
@caiyuhui14 жыл бұрын
learn it together follow "caiyuhui" in twiiter
@FbiNinja211 жыл бұрын
Who in their right mind would not use a jet engine on a car?
@ddubs12314 жыл бұрын
Ain't nothin but a G thang.
@MrRichersoon14 жыл бұрын
i wish he used swing instead of that acm thing
@MaikKellerhals14 жыл бұрын
doododoo!
@CasualMobileGamer16 жыл бұрын
I laughed at that too.
@CIPHERJAY11 жыл бұрын
5 people quit after lecture 10...
@SEMSEM30010013 жыл бұрын
@MrRichersoon import javax.swing.*; and public class any{ public static void main(String[ ]args){ JFrame frame=new JFrame("any"); frame.setsize(300,300); frame.setvisiable(true); } }