ChristyGHanson / my-code-quiz

0 stars 0 forks source link

User Story | Acceptance criteria | Pseudocode #1

Open ChristyGHanson opened 1 year ago

ChristyGHanson commented 1 year ago

User story

AS A coding boot camp student I WANT to take a timed quiz on JavaScript fundamentals that stores high scores SO THAT I can gauge my progress compared to my peers

ChristyGHanson commented 1 year ago

Acceptance criteria is 40% of the grade

GIVEN I am taking a code quiz

  1. WHEN I click the start button THEN a timer starts and I am presented with a question

    • need event listener for start button
    • code for the timer
    • How much time?
    • print out the question to the screen
  2. WHEN I answer a question THEN I am presented with another question

    • need an array (??) of questions to ask the player
  3. WHEN I answer a question incorrectly THEN time is subtracted from the clock

    • IF question is incorrect, subtract incremental time value
    • variable for "time remaining"
    • variable for "time subtracted"
  4. WHEN all questions are answered or the timer reaches 0 THEN the game is over

    • if timer is zero (true), print "game over"
    • if timer is not zero (false), do nothing
    • if questions are answered, print "game over"
    • if questions are not answered, game is not over, so do nothing.
  5. WHEN the game is over THEN I can save my initials and score

    • let finalScore = integer
    • finalScore value must be stored in local storage and printed out somewhere
    • IF game over, THEN prompt user to enter initials, ELSE don't do anything
ChristyGHanson commented 1 year ago

Deployment: 32%

Application deployed at live URL.

Application loads with no errors.

Application GitHub URL submitted.

GitHub repository that contains application code.

ChristyGHanson commented 1 year ago

Application Quality: 15%

Application user experience is intuitive and easy to navigate.

Application user interface style is clean and polished.

Application resembles the mock-up functionality provided in the Challenge instructions.

ChristyGHanson commented 1 year ago

Repository Quality: 13%

Repository has a unique name.

Repository follows best practices for file structure and naming conventions.

Repository follows best practices for class/id naming conventions, indentation, high-quality comments, etc.

Repository contains multiple descriptive commit messages.

Repository contains a high-quality README file with description, screenshot, and link to deployed application.