Skip to content

Feature/gamification system - #42

Open
JibiJohny20 wants to merge 6 commits into
SkyCascade:mainfrom
JibiJohny20:feature/gamification-system
Open

JibiJohny20 wants to merge 6 commits into
SkyCascade:mainfrom
JibiJohny20:feature/gamification-system

Conversation

@JibiJohny20

Copy link
Copy Markdown

Description

This PR implements a gamification system for students to improve engagement and provide recognition for their learning progress.

What was added

  • Added a dedicated gamification Django app.
  • Added an XP/points system for student learning activities.
  • Added badges and achievement tracking.
  • Added learning streak tracking.
  • Added configurable XP rules and gamification settings.
  • Added default badges and XP rules through the gamification initialization process.
  • Integrated gamification with quiz completion.
  • Integrated gamification with video completion.
  • Added XP/badge information to student-facing dashboard functionality.
  • Added protection to ensure gamification rewards are triggered for genuine student activities.
  • Added database migrations for the new gamification models.

Problem

Students may lack motivation to consistently complete quizzes, courses, videos, assignments, and other learning activities when there is limited recognition for their progress.

Solution

The new gamification system rewards students with XP, badges, achievements, and learning streaks based on their learning activities and milestones.

Quiz Integration

When a student completes a quiz, the result is processed by the gamification system to award the applicable XP and badges.

Video Integration

Video completion is connected to the gamification system so that students can receive rewards when they complete learning videos. The existing video-progress flow was updated to reliably detect completion before awarding rewards.

Student Experience

Gamification data is integrated into the student dashboard so students can see their progress and achievements.

Alternatives Considered

Progress indicators and course completion statistics could provide students with visibility into their progress. However, gamification adds additional recognition and incentives for continued participation.

Testing

  • Verified the gamification models and migrations.
  • Verified default XP rules and badges are initialized.
  • Tested quiz completion and gamification integration.
  • Tested video completion and reward triggering.
  • Verified that rewards are only triggered for student learning activities.
  • Verified that existing student dashboard functionality continues to work.

Closes #41 #38 #gamification

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants