Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Games Integration

Đang mở
#78 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript, react
Lĩnh vực
api, databases, full-stack

Hướng nghiên cứu

Bắt đầu bằng cách xem xét các flow hiện có của Link và ContentModule, sau đó truy vết cách các game được host bên ngoài hiện đang sử dụng Link#link_type. Công việc hoàn tất khi các bản ghi Game và GameSession, các action CRUD quản lý game và session, cùng các endpoint JSON cho score event hỗ trợ tích hợp iframe được mô tả trong issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Goal

  • To create the functionality for a first-class games integration so the application can track game completion/scores for students

Context

EndsideOut maintains a library of custom React games outside of this application. Each game has a unique URL slug and is built for a specific ContentModule in the EndsideOut curriculum.

This integration lets EndsideOut admins manage the explicit link between an externally-hosted game and a ContentModule in our app. Creating a Game record associates it with a ContentModule — so once a course/classroom is built using that module, the linked game becomes available to students in that module, the same way a Link is today.

Rather than sending students off-site, we iframe the game on a show page within our own app so students never leave the app to play. Because the games post their session/score data back to us via JSON endpoints, our app becomes the source of truth for game results — which student played which game, and what they scored.

This replaces the existing game option on Link#link_type — games get their own model and their own management flow instead of being a generic link.

Included Features

  • Adding a new Game model, associated with a ContentModule, with a unique slug
  • Removing the game link_type on Link in favor of Game
  • Adding a new GameSession model to track a student's play of a game
  • Adding CRUD actions for game sessions
  • Adding JSON endpoints so EndsideOut games can post session/score events to our app
Ngôn ngữ chính
JavaScript
Star
11
Fork
4
Merge trung bình
20 giờ 30 phút
Pull request đã merge (30 ngày)
19

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rubyforgood/endsideout

Tất cả issue của rubyforgood/endsideout

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.