Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 3.13 KB

assessmentInstructions.md

File metadata and controls

49 lines (42 loc) · 3.13 KB

Assessment: Fetch and Use Jeopardy Data

Now it's time to use fetch() to make some GET requests and do something semi-intelligent with the responses. Now it's time to use fetch() to make some GET requests and do something semi-intelligent with the responses.

⚠️ Read the submission guidelines at the bottom of this page first.

MVP

  1. Review the documentation for jService, an open "Jeopardy" API. Experiment a little and see what data you can get back.
  2. Use jService when a page loads to retrieve a question and present it to the user. (5 points)
  3. Provide the user an input box for supplying an answer, and a button for making a guess. (5 points)
  4. When the user makes a guess, check if the user-supplied answer is the correct answer.
  5. Award points (based on the "difficulty") to the user if they guess the answer correctly. (5 points)
  6. Load a new question for the user. (5 points)
  7. You do not have to provide a win condition.
  8. Identify a set of categories from the Popular Categories page which you want to display in your Jeopardy.
  9. On page load, request each category from jService and display them Jeopardy-style in a grid on the page. Show only the point values initially. Display the clue on each cell on click. (8 points)
  10. Above your grid (or at the top of it), show the category for each column. (4 points)
  11. Use your Grid and Cell classes to extend a JeopardyGrid and JeopardyCell class, which you will use to create your grid. (8 points)
  12. Provide the user an input box for supplying an answer, and a button for making a guess. (1 point)
  13. When the user makes a guess, check if the user-supplied answer is the correct answer. (1 point)
  14. Award points (based on the "difficulty") to the user if they guess the answer correctly. (1 point)
  15. Load a new question for the user. (2 point)
  16. You do not have to provide a win condition.

Stretch Goal

  1. Use OOD (Object-Oriented Design) to represent the contestant and a round.

Epic Mode

  1. Provide the user with a timer and penalize them for not guessing correctly in time.
  2. Only show the contestant one question per difficulty in a given category.
  3. Provide a win condition once all questions in all categories are exhausted.
  4. Provide a win condition once all questions in all categories are exhausted.

Submission Guidelines

  1. Fork this repo and clone it to your machine.
  2. Enable GitHub Pages for your repo.
  3. Add your code, per the instructions above.
  4. Push your completed code to your own repo.
  5. Submit a pull request to the original repo.
  6. On the PR, add a comment with a link to your GitHub Page for your project.
  7. On Canvas, submit a link to your PR.
  8. Use GitLab for this assessment.
  9. Before you touch any code, make a plan.
  10. Create a README.md file in your repo, and use it to record your notes and pseudo-code from Step 1.
  11. Enable Pages for your repo (by using init-gitlab-page).
  12. When you run init-gitlab-page make note of the URL it gives you on the console. This is the link to your GitLab Page.
  13. On Canvas, submit the link to your GitLab Page.