Skip to content

Game Viewer #81

Description

@sean-dickinson

Goal

To create the view that shows the game

Context

The games themselves are hosted externally to our site, but we iframe them on a show page within our app so students never leave our app to play. A student reaches this view from the module/course flow — clicking the game item linked to a ContentModule — the same way they'd click any other module link today.

The creation/updating of the actual game attempt (score, completion) is handled by JSON requests sent from the game itself, not by this view — this view's only job is to render the iframe.

AC

  • Clicking a game item linked to a ContentModule navigates the student to this view, which renders the game in an iframe
  • The iframed game URL includes a student_id GET parameter so the game knows which student is playing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions