Skip to content

Address book#10

Open
tonezone108 wants to merge 3 commits intogh-pagesfrom
week7-1
Open

Address book#10
tonezone108 wants to merge 3 commits intogh-pagesfrom
week7-1

Conversation

@tonezone108
Copy link
Owner

Checkpoint Rubric

This is the rubric that your instructor will use to grade your checkpoints. Please do not edit.

Checkpoint 1

  • All tests passed: 40 points
  • Proper use of documentation (commenting on code): 15 points
  • Properly indented code: 15 points
  • Demonstrated effective use of JavaScript: 30 points

Checkpoint 2

  • The application works as it should: 40 points
  • Proper use of documentation (commenting on code): 15 points
  • Properly indented code: 15 points
  • Demonstrated effective use of JavaScript and the DOM API: 30 points

Checkpoint 3

  • Use of React: 25 points
  • Accesses an API: 25 points
  • Proper use of documentation (commenting on code): 25 points
  • The application functions as it should: 25 points

//this function, when called on a event set up by the make player function,
// will take the person and add new dogeball traits to its key and values by calling the player class and then push into the listofPlayers array
const addPlayer = person => {
let newAttributes = new Array(10);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting up an attributes array seems odd

}
}
// teammate will take a player and assign either red team or blue team as new key and values.
class Teammate {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have expected the Teammate class to extend the Player class

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