¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Trivia Game - Copy

Julia de Beer Digital Solutions Year 11 Inglés

Contenido del mapa

Trivia Game - Copy

  1. Available Resources

    • Hardware
      • Laptop
        • Access to resources
      • Information
        • Internet
          • StackOverflow
            • A community-based space to find and contribute answers to technical challenges
          • W3Schools
            • A freemium educational website for learning coding online
          • JSON beautifiers
            • Adds spaces to JSON data to make it more understandable
    • School resources
      • Curriculum
      • Technical proposal
    • Software
      • Python
        • Modules
          • flask
            • Web framework for simple applications
          • urllib
            • Fetches URLs
          • json
            • Parses JSON strings and files containing JSON objects.
          • random
            • Implements pseudo-random number generators.
      • JSON
        • APIs
          • Open Trivia API
          • Other APIs
      • HTML
      • CSS
      • Jinja
        • Special placeholders in the template allow writing code similar to Python syntax.
  2. Impacts

    • Personal
      • Data privacy principles
        • APP1-13
      • Data security
        • No user data collected or stored
        • All data stores are temporary
      • Education
        • Learning through quiz questions
          • Useful in daily life and interaction
      • Health and wellbeing
        • Challenges the mind
    • Social
      • Education
        • Culture
          • Education about different cultures
        • Communities
          • Education about various communities, social groups and clubs
        • Access to wealth, services and opportunities
          • Access to new or improved knowledge and improved knowledge management
    • Economic
      • Jobs
        • People hired for maintenance
      • Revenue
        • Could advertise on the platform
  3. Ideation

    • Data interface
      • HTML template
        • Jinja
          • Displaying data
            • {{data.category}}
          • Using loops
            • {% for answer in answers %}
          • Using conditions
            • {% if ns.current_pos == secret %}
            • Uses namespace
              • {% set ns = namespace(current_pos = 0,done=False) %}
          • Setting variables
            • {% set ns.current_pos = ns.current_pos + 1 %}
    • Data structure
      • A means of organizing and storing data so that we can perform operations on the stored data more efficiently
      • JSON
        • Array with the name "results"
          • Curly braces containing all data for one question
            • Name and value pairs separated by commas
        • Difficulty and category of questions decided by user through form
      • Python
        • Arrays
          • categories, incorrect_answers and question_data
    • Data specifications
      • A guideline to ensure comprehensive and consistent data definition
      • The attributes required to quantify data definition
      • Dataset name
        • categories
          • All categories from Open Trivia API
        • question_data
          • All data for 10 questions from Open Trivia API
        • incorrect_answers
          • Incorrect answer(s) for one question from Open Trivia API
      • Transmission frequency
        • Once
      • Transmission volume
        • 2-4KB
      • Transmission format
        • JSON
      • Transmission encryption
        • None
      • Data storage
        • Arrays
      • Data security
        • None
    • User interface
      • Start page
        • To choose trivia question category and difficulty
          • Form
            • Dropboxes
              • Get categories from Open Trivia API to loop as options in category dropbox
            • Submit button to POST form
      • Trivia game page
        • Centre container
        • Use while loop to allow game to accept true and false questions and answers
          • while i < # of questions, append question[i] to incorrect_answers
        • Fix answers boxes so that long answers don't overflow
      • End game page
        • Add a play again button
  4. Constraints

    • Time
      • 10 weeks
        • Managed for Parts 1, 2 and 3
        • Explore, develop, generate, evaluate
    • Resources
      • Open Trivia API
        • Only 1 Category can be requested per API Call. To get questions from any category, don't specify a category.
        • A Maximum of 50 Questions can be retrieved per call.
        • Needs fast and stable internet connection.
    • Scope
      • Context and criteria
        • Re-develop a trivia game to use trivia questions from an open API data source instead of a local database
  5. Criteria

    • Prescribed
      • Use trivia questions from an open API data source
        • JSON data exchange language
        • urllib python library
          • GET data from url
        • Open Trivia API
          • Open API data source
        • Remove local database
        • Remove sqlite3 code
      • Simulate the exchange of data between two digital systems
        • Use a RESTful architectural pattern
        • Use the JSON data exchange language
        • Use an HTTPS communication protocol
        • Exchange data with an API using URIs
    • Self-determined
      • User interface
        • Useability Principles
      • Functionality
        • Replay button
          • Add a button to the endgame.html template
          • Questions must be different for every replay
          • Put initialising process in a startup function
            • Getting the JSON document from with the URI from the API, reading it and placing the data in a variable.
        • Choose trivia difficulty and category
          • Create a start page for the game
            • Same style as the others
          • Add dropdowns for category and difficulty
            • Use categories gotten from the API using a URI to fill the options of the category dropdown
          • Add user input to the URI to fetch customised data
  6. Requirements

    • Functional
      • File format
        • .py, .json, .html, .css
      • Data structure
    • Non-functional
      • Usability
        • Learnability
          • The user can immediately grasp how to interact with the interface
        • Effectiveness
          • How well the user interface helps the user
        • Accessibility
          • The ability to be used by different people
        • Utility
          • The system provides all necessary functionality
        • Safety
          • The ability for users to recover from mistakes
      • Availability
        • Work without internet/ with poor internet
          • Local JSON document
      • Maintainability
        • Updates to Open Trivia API updates application
      • Security
        • Data Privacy Principles

Información

Descripción
Year 11 Digital Solutions Mapa Mental sobre Trivia Game - Copy, creado por Julia de Beer el 10/05/2022.
Creado por
Julia de Beer
Visitas
4
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?