I have to take a break from this book, I’m scratching my head too much, losing my mind. Could not figure out how to get this to work correctly. I’ve tried looking for other people’s code, but I still can’t figure it out? Seems like a lot of people are getting stuck on this exercise […]Read more "Day 10.1 Taking a break from Zed Shaw’s LRTHW."
I’m having a bit trouble understanding what this exercise does. I did the exercise just fine, my output is correct, but it’s very confusing. There’s quite a bit of googling in this section. I don’t have any work to show since everything is the same as the instructions. Study Drill 1. Go read about Ruby’s […]Read more "Day 10.0 Exercise 47 Automated Testing"
There’s no coding exercise in this section. It’s shows how to use “rake test” to test your project, and making a bunch of empty folders. It’s great to have a basic structure, but I’m lost, I don’t know any of these files or folders are for. There is a quiz that requires you to read […]Read more "Day 9.1 Exercise 46 A Project Skeleton"
Done! Actually did it in ex43b, however there’s a new requirements, which is to use more than one file, and use require to use them. So I’ve modified my ex43b into ex45Project, it’s basically ex43b with the class files extracted out as a separate file, which greatly improve readability. Instead of scrolling up and down […]Read more "Day 9.0 Ex45 You make a Game."
So I have made my own version of the Gothon game. There is a combat system to battle a zombie. I’m going to be honest, I am still learning, eventhough I may have written this, but I feel like there’s too much of this @@ and @ stuff that I don’t get. Here’s the link […]Read more "Day 8.2 Exercise 43 Game"
There’s no work in this exercise, this section consist of 6 different examples of how inheritance, composition and mixins works. Here’s the link to read about the exercise.Read more "Day 8.1 Exercise 44 Inheritance versus Composition"
Here’s my work. Here’s the link to exercise 43. This exercise is very very long, it’s ~260 lines of code, so I’m not going to post the whole list of codes here. You can check it out on my github at the above link if you wish to compare it. What I’ve posted is my […]Read more "Day 8.0 Exercise 43 Basic Object-Oriented Analysis and Design"