Skip to content

Wladimir Fraga - #1

Closed
wladimir917 wants to merge 6 commits into
bloominstituteoftechnology:masterfrom
wladimir917:master
Closed

Wladimir Fraga#1
wladimir917 wants to merge 6 commits into
bloominstituteoftechnology:masterfrom
wladimir917:master

Conversation

@wladimir917

@wladimir917 wladimir917 commented Apr 18, 2018

Copy link
Copy Markdown

JavaScript III

this

  • Explain the four principles for the this keyword
  • Code example for Principle 1
  • Code example for Principle 2
  • Code example for Principle 3
  • Code example for Principle 4

Prototypes

  • Create GameObject class
  • Create CharacterStats class
  • Create Humanoid class
  • Stretch Goal: Create Hero and Villain classes
  • Stretch Goal: Give the Hero and Villains methods to remove HP from objects
  • Stretch Goal: Create two new objects (hero and villain) and make them fight!

Good Habits

  • Pull Request title is your first and last name (add any notes in the comment field)
  • Code has been committed regularly
  • Commit comments are informative
  • Code is organized in a logical way
@mixelpixel mixelpixel closed this May 21, 2018
cornielleandres added a commit to cornielleandres/JavaScript-III that referenced this pull request Aug 8, 2018
lizdoyle referenced this pull request in lizdoyle/JavaScript-III May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants