Skip to content

boiler256/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.

V2

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

V3

Add tests for your SuperHero class.

  1. Write tests for what it should do in tests.js.
  2. Open index.html to run the tests.

V4

Make 2+ SuperHero subclasses that have two or special properties and actions, with tests covering all of the functionality, using test-driven development (TDD).

  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.

About

Object Oriented Programming exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 61.1%
  • HTML 38.9%