Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Object-Oriented JavaScript: Challenge Making the Game Interactive drop() Method Solution

This is the most frustrating practice session in this course.

We get a tiny tiny introduction to OOJS and then we get thrust into creating an actual interactive game, that we don't even really get to create ourselves.

Tomasz Grodzki
Tomasz Grodzki
8,130 Points

Ashley said in first video that it might be too complicated for us, and that we may not understand everything.

I think that main purpose of this lesson is to show us how to handle somebody's code when we don't understand everything.

I think that this lesson is very useful because in our first work there will be many code that won't be fully understandable for us and though we'll have to work with these codes. And I think that some assignments and guidelines in work will be less obvious than in this lesson.

Don't be so frustrated. Remind yourself you first game that you ever played. Do you remember how frustrating was that? Do you remember thoughts like: "it's impossible to complete this game?"

Ben McMahan
Ben McMahan
7,922 Points

I feel the same way but I am learning. But it does feel like there was a whole middle part left out.

Mid-way through this course I have struggled with the assignments, coming somewhat close but not 100%. Ashley had a finished product to teach, without having all of her knowledge of the end result upfront it's hard to understand each requirement.

12 Answers

Joseph Anson
Joseph Anson
14,448 Points

Yeah I agree. I feel like it's just a bit too complex and only briefly explains what everything does.

William Mead
William Mead
9,937 Points

I am loving this practice. It is great to see a whole project come together, even if I don't fully understand all the individual parts yet. I do think it would be better to have more opportunities to check your code and test what you have done along the way. It is too easy to make a small typo and then when you test it several steps down the road, it is hard to go back and find where you made a mistake.

I have not found any concepts here that were not covered in the OOJS course. The OOJS stuff takes lots of practice. I keep forgetting to prepend 'this' to all my function calls, lol.

Christine Treacy
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Christine Treacy
Full Stack JavaScript Techdegree Graduate 18,412 Points

I keep forgetting 'this' as well! I am personally enjoying this project a lot. I was able to follow it pretty well during the first portion but this interaction portion is much more complex, for me at least. But I still enjoy getting to see how all of this comes together, regardless of how much I'm understanding. Plus I think exposure to how a game like this is created will be beneficial to me in the future. I'd rather be exposed to it than not!

Daniel Bayford
Daniel Bayford
11,985 Points

I'm finding this very complicated too compared to what I have already encountered on the Full Stack JS track, but I would imagine we aren't supposed to be able to make this on our own - it's just a thorough explanation of a more complex JS application, rather than the trivial code we've been playing with so far.

Jeremy Antoine
Jeremy Antoine
15,785 Points

The reason this project is set up like this is to get you thinking like a project developer, not just a "programmer". As a developer, you will OFTEN come across situations that you don't completely understand right away, and you will have to do lots of research to figure it out. This course not only challenges you to start thinking like a developer and solving complex situations, but it also gifts you many directions on where to find the information you need, by providing links to online assets. And yes, this course is tough for people just starting out with OOJS, but that is why the code solutions are provided. They are there to show you a successful way to accomplish the problems so that you can compare it to how you tackled the situations on your own, and then learn by comparison. Keep plugging away! For MOST of us, this stuff doesn't happen over night. Coding is a life-long learning process!!!

Santiago Herrera
Santiago Herrera
9,547 Points

I have already make the react course and understand it, but this is another level step ahead as well and can´t really click it. Too complex

I fully agree with Jeremy Antoine's feedback. I like it so see how everything comes together and how it let me think a bit like a developer. It's fun!!

Yes. I'm very frustrated. Would've preferred a smaller project to start with to get a handle on how the different classes, getters etc connect with each other. Maybe just a tic tac toe game or hangman. We started off from scratch, but somewhere I feel that she stopped letting us think and just started telling us what to do. She admits there were several iterations before she got to this solution. I would have liked to see how to psedo code this from start to finish before starting to code. Setting up the classes and constructors was fine but later I felt that we were juggling so many pieces, partial builds that I lost track of the main road. No way, would I be able to put this together on my own. It's neat to see what is possible, but I'm going to have to run through this many, many times.

While I get the thinking like a developer bit, I must agree that it's more frustrating than not. There is a lot of stuff that's in here that isn't very well explained. I'm finding that the ideas being introduced here aren't sticking as well as previous ones. I'm also finding the documentation not up to par, as there are parts that feel like typos or things that are left out altogether. For example, the Jquery challenge...I am doing the Fullstack Techdegree, and this hasn't been mentioned at all to this point. It's mentioned in this challenge, but there's no link to anything, which was annoying. At $200 a month, I'd like a little more resources or explanations regarding new concepts. I know that I'll need to Google things (and I do), but I'm paying for this to help teach me...At this point, I know exactly the same about Jquery as I did at the start of this challenge, which shouldn't be the case. Sorry for the rant :/ This game has a lot of moving bits that call on and connect to one another. I'm pretty sure I'll have to revisit it later on.

Happy .
Happy .
11,414 Points

I understand where you're coming from in your frustrations, personally I'd of rather been shown the "downside" of creating this project without using Objects, and then tasked to recreate it with Objects after a more thorough lesson.

Jamie Moore
Jamie Moore
3,997 Points

Following the Full Stack JavaScript track, this project really throws you in at the deep end. Prior to this, there's a tiny section on OOJS. I've followed the whole course perfectly up until this project. I'm finding it hard to follow along, and there seems to be a lot of 'this is the code to write, copy mine', rather than 'we're going to write this code because....'

Glad to know i'm not the only one feeling a little out of my depth here.

I am personally enjoying this course but man is it frustrating. This seems like something for intermediate OOJS programmers, but despite that it is actually quite fun. It puts you in the mind set of a programmer that has to take on a challenge.

It is listed as an intermediate project, but I do wish there was another project or two before this one that felt more like a stepping stone to this. We got the building blocks shown to us. But instead of building a wall or two first, we had to build a house.

Simon Coates
Simon Coates
8,481 Points

I did the animation challenge and got it dropping with a fixed level of depth (while using a token to express this) and moving on to the next token. The minor frustration is that I think some of the videos document making changes where the code didn't strictly work. If she doesn't say the precise outcome of the change, you might run it and see errors and be uncertain if you've done something wrong or whether that's exactly what's meant to happen pending the next modification.

Ryan Tompkins
Ryan Tompkins
6,509 Points

Agree. Lost. Will need to review most of this material. Maybe coding isn't for me. Ugh.

maybe I'm not the best person to say this, but please don't think that coding isn't for you because you're lost on this challenge. As you see from many of the comments above, you are not alone in being lost! Many other programmers (including me) are right there as lost as you are, but that doesn't mean coding isn't for us :)

I have also felt confused and frustrated with this project but at the same time, I think it's important. Having to look at something confusing and research and go over it again and again until you understand it, is something I believe we will have to do in the real world on a regular basis. This is the kind of field that will regularly leave you confused and frustrated. Learning how to overcome that and push through is necessary. I think the only real issue I have with this part of the course is that (at least to me) there was little to no way to test what you wrote yourself until we got father into it.