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 session (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
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 session (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
student_idGET parameter so the game knows which student is playing