-
Notifications
You must be signed in to change notification settings - Fork 449
Homework #736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gh-pages
Are you sure you want to change the base?
Homework #736
Conversation
Created different classes to hold the attributes and move them from array to array, and display them in the DOM. Created a listPeopleChoices function to create new players and map through the array of people. Creates a button that allows you to make a player that when clicked moves the object to the listOfPlayers array. Once listOfPlayers is created they are given two button options for the red or blue team which when clicked will move them to the selected array. | ||
step 1: Array of People | ||
step 2: ARRAY OF PLAYERS | ||
STEP 3: array of red or blue team |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of the requirements was a test plan write up, or some tests. I dont see either of those.
}; | ||
|
||
const makeBluePlayer = (player) => { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would have been the place to create a Teammate instance and have it store the team color.
@@ -0,0 +1,202 @@ | |||
const arrOfPeople = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like that you put comments through out. But the indentation could use a little more work. It is not strictly necessary for the code to run, but it would make it easier to read and follow along
Checkpoint Rubric
This is the rubric that your instructor will use to grade your checkpoints. Please do not edit.
Checkpoint 1
Checkpoint 2
Checkpoint 3