Skip to content

Conversation

@lawerenceWilliams
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

}

// 1. User1 input of rock, paper, or scissors.
const choice = ['rock', 'paper' , 'scissors']=>{
Copy link

@ericbarrs ericbarrs Oct 29, 2018

Choose a reason for hiding this comment

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

invalid syntax

};

// 2. User2 input of rock, paper, or scissors.
const choice = ['rock', 'paper' , 'scissors']=>{

Choose a reason for hiding this comment

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

invalid syntex

const user2 = 'player2';


function rockPaperScissors(hand1, hand2) {
Copy link

@ericbarrs ericbarrs Oct 29, 2018

Choose a reason for hiding this comment

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

parameters that are being used is hand1 and hand2. The function is also not closed.

};

// 5. If User1 input is 'rock' and User2 input is 'paper', User2 wins.
if (user1 === "rock") {

Choose a reason for hiding this comment

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

if statement not closed

};

// 4. If User1 input is 'rock' and User2 input is 'scissor', User1 wins.
if (user1 === "rock") {

Choose a reason for hiding this comment

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

if statement not closed


// 5. If User1 input is 'rock' and User2 input is 'paper', User2 wins.
if (user1 === "rock") {
if (user2 === "paper") {

Choose a reason for hiding this comment

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

if statement not closed

}

// 7. If User1 input is 'paper' and User2 input is 'rock', User1 wins.
if (user1 === "paper") {

Choose a reason for hiding this comment

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

if statement not closed

}

// 8. If User1 input is 'paper' and User2 input is 'scissors', User2 wins.
if (user1 === "rock") {

Choose a reason for hiding this comment

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

if statement not closed

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.

3 participants