Collaborative Application Development: 5.2 Group Lab 1

Trivia - Sprint 1

  1. Planning and preparation.
    1. Pull the latest changes from your team's Git repository (clone first, if necessary).
    2. Complete/Close the current 'The Business - Sprint 3' sprint in your team’s JIRA project
    3. Create a Sprint in your team’s JIRA project called 'Trivia - Sprint 1'
    4. Drag the issues from the backlog into the sprint
    5. Create an issue in Jira for each of the following sprint tasks.
    6. Create the issues using the specified type - Task, Bug or User Story. If a user story, ensure that the correct user story format is being used.

      1. Add the starter files to your team repository parallel to the previous project(s) in a folder called ‘Trivia’.
      2. Create the home page named index.html, based on the provided wireframe diagram.
      3. Create the help page named help.html, based on the provided wireframe diagram.
      4. Add the framework for unit testing to the site.
        1. Add a new JavaScript file in the js folder named ‘tests.js’
        2. Download the QUnit js and css files and add them to the js folder
        3. Add a new page called Tests.html and in it reference jquery.js, site.js, tests.js, the QUnit css file and the QUnit js file.
        4. Run the new page and confirm that you see a nicely formatted QUnit display.
      5. Come up with trivia questions.
        1. Determine 10 questions, each with four possible answers. Add these to nicely formatted Word or Excel document. Add that document to both the project’s Documents folder and attach it to the issue in JIRA.
        2. Create an array in site.js to hold the questions (we won’t deal with the associated answers yet).
      6. Display a question on the page.
        1. When the page is loaded, incorporate a function named getRandomQuestion, which takes no parameters and returns a randomly selected trivia question.
        2. Utilizing the getRandomQuestion function, display the question on the page.
      7. Allow the user to answer a question.
        1. Create a checkAnswer function, which takes the answer letter that was clicked as a parameter and returns true if the user answered correctly, or false if the user answer incorrectly.
          1. In the function, determine the answer index by setting a local variable to 0 if the answer was A, 1 if the answer was B, 2 if the answer was C and 3 if the answer was D.
          2. In the function, for now, hard-code the logic that if the answer index is 2, the answer is correct.
        2. Utilize the checkAnswer function each time an answer tile is selected.
      8. Add support for showing the user their score.
        1. Each time that the correct answer is selected, add 5 to the score shown on the page (it should start out at 0 when the page loads).
    7. Use the story point range of 1,2,4,8,16 (to represent Extra Small, Small, Medium, Large, Extra Large)
    8. Assign the issues as evenly as possible within your team.
    9. In the backlog, drag and drop all of the issues created into the sprint.
    10. Start the sprint
      1. For the Sprint Name specify 'Trivia - Sprint 1'
      2. For the Start Date, specify today's date
      3. For the End Date, specify the date of one week from now
  2. Work.
    1. View your team project board in Jira (showing the 'To Do', 'In Progress' and 'Done' columns).
    2. Drag and drop each issue from 'To Do' to 'In Progress' when starting work on the issue, and from 'In Progress' to 'Done' when completing the issue. Add comments to the issues as needed.
    3. Commit your code changes to the Git repository often (at least once per Jira issue). When committing your code changes to the Git repository, specify a description of the change and the issue number from Jira in your commit message, such as 'CADSB-9: Updated page title'.
    4. After completing each task, push the changes up to the remote repository so your team members can access them.
  3. Wrap up and sprint retrospective.
    1. Coordinate with your team to tag the final commit of the sprint with 'Trivia - Sprint 1 end', or something similar.
    2. Discuss the following items within your group.
      1. What worked well this sprint?
      2. What didn't work well this sprint (e.g. Git issues, Jira issues, poor communication, etc.)?
      3. What will you do differently next sprint?
  4. To submit:
    1. Submit the assignment via Blackboard with a note letting the instructor know that the work is completed and ready for grading.