There are also a few more requirements:
- You must implement a Vector class with
add
andsubtract
operations. I want you to practice using JavaScript inheritance. Also, being able to add and subtract vectors will make your code much much simple. Specifically, when a user clicks and moves inside a pin, I want you to move the pin as thought the user grabbed it at that point. You cannot move the top-left of the pin to where the user clicked, as we did in the previous homework. This is all much easier to do if you think/code with vectors. I'll explain more in class. - You cannot use any third-party libraries. There are many libraries out there that do this, and more. You cannot use them, or anything else besides jQuery.
As always, when you are done push your code to your public github repo, by Monday, 26 November @9am: the Monday after Thanksgiving.
No comments:
Post a Comment