Skip to content
/ oop Public
forked from advanced-js/oop

Object Oriented Programming exercise

Notifications You must be signed in to change notification settings

tsjoberg/oop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Oriented Programming exercise

V1

Make a base SuperHero class. Give it some properties, and actions (methods) that change those properties.

  1. Write a test for what it should do in tests.js.
  2. Open index.html to run the tests.
  3. Define the class in super_hero.js, and make the tests pass.
  4. Repeat from step 1.

V2

Make at least one of the methods interact with another SuperHero, such as attack() or giveMotivationalSpeech().

V3

Make 2+ SuperHero subclasses that have two or special properties and actions, with tests.

About

Object Oriented Programming exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%