Ok, so I put up the different parts of the Hangman Game Assignment Solution in the previous posts, so I thought I’d put them all together here. You can also see the solutions on github. If you’re interested in part-by-part solution, check out these posts: Stanford CS106A Hangman Console – Based Game Solution Stanford CS106A Hangman Game [...]
For part 2 of the Hangman Game from Assignment 4, the focus is on adding the graphics part of the program. I am proud to say, that once again, I was able to figure out this part of the assignment all on my own, without any outside help Here is my solution:
I am really proud to say that I was able to figure out part 1 of Hangman game as documented in Assignment 4 all on my own without any outside help!!! AND the more I program, the more I love it. I couldn’t think of a more perfect way to spend this Friday 11/11/11 So [...]
I’ve noticed that the Section Assignments are not nearly as hard as the homework assignment, which makes them kind of fun. And the Random Circle problem makes me really happy. Not only was I able to solve it pretty quickly, it’s really fun to run it and see a bunch of random circles just appear! [...]
And now, the moment you’ve all been waiting for…. I FINISHED THE BREAKOUT GAME!!!!!! And it works As you’ve seen I’ve been posting how to do parts of the game, as outlined in Stanford CS106A Assignment 3, but this is the post where we all celebrate that the whole code put together works! If you’re [...]
Just when I thought I was almost done, there was an additional complication in the Breakout game! As outlined in Assignment 3, Finishing Up includes making sure the ball doesn’t get “glued” to the “sticky” paddle if you move the paddle really fast as the ball is approaching: Of course, this was happening to my [...]
Wow, it feels good to have this part of the assignment down!! As I’m writing this, I’m watching the ball bounce around my Breakout window and now I know I’ll be able to finish this game!!! The instructions for this part of the assignment, creating a ball and getting it to bounce off the wall [...]
The second part of the Breakout game in Assignment 3 is creating the paddle and making it move as the mouse moves according to the following instructions: Here is my solution:
I have mixed feelings about Graphics programs. They are pretty simple, but time consuming in terms of figuring out the correct coordinates for squares, circles, and words. Here is the section assignment for a graphics program: Here are the solutions:
So after solving this and looking at the solution, I definitely made this complicated by trying to incorporate what I learned in Lecture 7. Should have completed this before watching all the stuff about methods! On the up side, I at least go to practice the new stuff. Here is the problem: Here are the [...]