Repository navigation
JavaScript-III - #1
Open
ThorbenBender wants to merge 3 commits into
Open
ThorbenBender wants to merge 3 commits into
ThorbenBender wants to merge 3 commits into
Conversation
samarv
approved these changes
Jan 24, 2019
samarv
left a comment
Collaborator
There was a problem hiding this comment.
Project Objective
- Complete
thisassignment. - Complete 'prototype.js' assignment
Stretch
- Create Villain and Hero constructor functions that inherit from the Humanoid constructor function.
- Give the Hero and Villains different methods that could be used to remove health points from objects which could result in destruction if health gets to 0 or drops below 0;
- Create two new objects, one a villain and one a hero and fight it out with methods!
Module Objective
- Explain the four principles of the 'this' keyword and demonstrate each explanation with an example of their uses
- Describe, and use prototypes, constructor functions the new keyword, and pseudo-classical inheritance to build a small object based video game
Conclusion
Thorben, Your git commits are NOT regular. Get in the habit of commit often. Your code is clean and precise. You are curiosity is infectious. Keep learning. Keep stretching.
Lemme know if you have any questions.
| * 2. | ||
| * 3. | ||
| * 4. | ||
| * 1. when use this in the global element it points at the root element |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.