Skip to content

Tic Tac Toe Html#5

Open
tonezone108 wants to merge 5 commits intogh-pagesfrom
week3-2
Open

Tic Tac Toe Html#5
tonezone108 wants to merge 5 commits intogh-pagesfrom
week3-2

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


function isLegal() {
function isLegal(startStack, endStack) {
//accept startStack & endStack and compare them, if endstack is smaller than startstack return false, legal move is if end stack // JUST THINK THROUGH SCENARIOS
Copy link

Choose a reason for hiding this comment

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

Does not handle bad input.

//accept startStack & endStack and compare them, if endstack is smaller than startstack return false, legal move is if end stack // JUST THINK THROUGH SCENARIOS
// Your code here

let start = "";
Copy link

Choose a reason for hiding this comment

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

Does not check if the start stack is empty.

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