Skip to content

Anne Courtney - #10

Closed
annecourtney wants to merge 3 commits into
bloominstituteoftechnology:masterfrom
annecourtney:master
Closed

Anne Courtney#10
annecourtney wants to merge 3 commits into
bloominstituteoftechnology:masterfrom
annecourtney:master

Conversation

@annecourtney

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants