rubyforgood / rubyforgood/endsideout

Game Viewer

Open
#81 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11
Forks
4
Avg merge
20h 30m
Merged PRs (30d)
19

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how a game item linked to a ContentModule is handled in the existing module/course flow and locate the show-page view for rendering it. Done means clicking the game reaches a view with the externally hosted game in an iframe, and the iframe URL includes the current student's student_id parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.