About
[SIMU_DESC]
Revitalizing MOE Library Interactives: The New and Improved Metric Prefix Challenge
By lookang |1st February 2025
Introduction: Breathing New Life into MOE Library Interactive Resources
Educational technology is rapidly evolving, and with it, the way we engage students in learning STEM concepts. The MOE Library has long been a treasure trove of interactive resources that make abstract scientific ideas more accessible. However, as web technologies advance, many of these digital interactives require updates to remain engaging, responsive, and measurable in terms of student learning outcomes.
MOE Library base module https://vle.learning.moe.edu.sg/moe-library/lesson/view/a2b72acb-4aa0-4985-a77d-ce502fa4790e/cover
CG with xAPI https://vle.learning.moe.edu.sg/community-gallery/lesson/view/3d8f8a3d-6a11-4e45-aae8-22acbc162850/page/85665289
![]() |
o3miniMtricGamelookang.zip o3miniMtricGamelookang/ |
Enter the newly refreshed Metric Prefix Challenge—a sleek, mobile-friendly, XAPI-enabled interactive game that makes learning scientific notation and metric conversions fun, trackable, and rewarding.
SLS auto takes sendScore() and pass back to SLS natively. see the 2/5 |
This blog explores how we modernized an MOE Library interactive by maximizing screen width, improving usability, integrating gamification with a firework finale, and adding XAPI tracking to capture learning analytics.
The Challenge: Making Metric Prefixes Interactive and Engaging
Understanding metric prefixes (nano-, micro-, kilo-, etc.) is fundamental in science, yet students often struggle to visualize these concepts or recall the correct conversions.
The original Metric Prefix Challenge game provided a solid foundation but needed an update:
✅ Mobile-friendliness: The original layout was optimized for desktop, making it less effective on mobile screens.
✅ Better UX/UI Design: The game needed a full-width, two-column interface that used available screen space efficiently.
✅ Feedback Mechanisms: Answer selections should provide instant feedback with animations and visual effects.
✅ Engagement Boosters: Adding gamification elements such as fireworks celebrations at the end of a session would make the experience more enjoyable.
![]() |
o3miniMtricGamelookang.zip o3miniMtricGamelookang/ |
✅ Data Tracking with XAPI: Teachers should be able to track students' engagement and performance by logging scores to an XAPI Learning Record Store (LRS). copy from https://www.learning.moe.edu.sg/teacher-user-guide/author/html5-content-development/
The Solution: A Fully Revamped Learning Experience
We completely redesigned the game interface while retaining the core concept of selecting the correct number format and metric prefix for given scientific notation values.
1️⃣ New Mobile-Friendly, Full-Screen Design
💡 Maximized Screen Width: Instead of a small, centered game area, we now have a two-column layout:
- 📌 Left Panel: Displays the Problem Statement in clear, easy-to-read scientific notation.
- 📌 Right Panel: Provides interactive answer selections (both number format and metric prefix).
This layout ensures students quickly understand the task and can interact without unnecessary scrolling.
2️⃣ Enhanced Engagement with Fireworks & Instant Feedback
🔹 Smooth animations provide visual feedback when students select an answer.
🔹 A fireworks celebration explodes on-screen when students complete the game, making the learning process memorable and fun.
🚀 Why does this matter? Research shows that instant positive reinforcement improves retention and motivation in gamified learning.
3️⃣ XAPI Integration: Tracking Student Learning
The most powerful upgrade is XAPI (Experience API) integration, which allows student scores to be logged and analyzed.
How it works:
✅ Students play the game for 60 seconds.
✅ At the end, the final score is sent via XAPI to an LRS (Learning Record Store).
✅ Teachers and administrators can track progress, identify learning gaps, and personalize instruction.
How XAPI Works in This Interactive
To enable XAPI tracking, we added the following key features:
🔹 Retrieving XAPI Parameters:
The game extracts XAPI settings (endpoint, authentication, agent, and activity ID) from the URL parameters, allowing seamless integration into an LMS or learning environment.
🔹 Sending Score to LRS:
At the end of each game session, the final score is automatically sent to the XAPI LRS. This ensures teachers can review students' learning history and performance trends over time.
🔹 Example XAPI Code in Action:
The sendScore(score)
function ensures real-time data tracking:
This means: Every student's attempt is recorded!
The Results: A Next-Gen MOE Library Interactive
This updated version of the Metric Prefix Challenge transforms an older digital learning tool into an engaging, trackable, and gamified experience.
🔹 Old Version: Static, small-window game with no tracking.
🔹 New Version: Responsive, full-width, animated, and XAPI-enabled for real-time learning analytics.
Key Benefits for Teachers & Students
✅ Teachers get XAPI-powered insights into students’ progress and struggles.
✅ Students enjoy gamified learning, making difficult concepts fun and memorable.
✅ MOE Library interactives evolve into state-of-the-art digital resources.
Next Steps: Scaling Up XAPI for More MOE Interactives
With the success of this refresh, more MOE Library interactives can integrate XAPI tracking.
📌 Future plans:
✅ Apply the same redesign principles to other interactive learning tools.
✅ Expand XAPI tracking to capture more data (e.g., time spent on tasks, error patterns).
✅ Develop personalized learning dashboards for teachers to analyze student data easily.
This is just the beginning of a new wave of interactive, data-driven, gamified learning experiences for the MOE Library. 🚀✨
Try It Now!
🚀 Play the updated Metric Prefix Challenge:
📌 https://chatgpt.com/share/679d9224-2f0c-8008-815c-6e739d402e62" https://chatgpt.com/share/679d9224-2f0c-8008-815c-6e739d402e62 full prompt with GPT o3-mini
Master Prompt:
Master Prompt: Generate a Fully Functional, XAPI-Enabled Metric Prefix Challenge Game
Objective:
Create a responsive, gamified, and XAPI-integrated Metric Prefix Challenge interactive that helps students convert scientific notation values into metric prefixes.
Requirements:
- Full-screen, responsive design (mobile-friendly, desktop optimized).
- Two-column layout:
- Left: Problem Display (scientific notation).
- Right: Answer Selection Panel (number format & metric prefixes).
- Game Features:
- Students select the correct number format and metric prefix.
- Score increments for correct answers, resets for wrong answers.
- Fireworks animation on game completion for engagement.
- XAPI Tracking:
- Retrieve XAPI parameters from URL (
endpoint
,auth
,agent
,stateId
,activityId
). - Send final score after 60 seconds (or manual End Game).
- Retrieve XAPI parameters from URL (
- Google Analytics & Ads:
- Include Google Tag Manager (
G-S9EWRY1CPJ
) - Include Google AdSense (
ca-pub-0121577198857509
).
- Include Google Tag Manager (
- Optimization:
- Fast loading, efficient JavaScript, and clean UI with animations.
- Minimal dependencies (Vanilla JS, Canvas for fireworks).
Generate a Full HTML, CSS, and JavaScript Game File
-
HTML Structure:
- Header: Displays game title.
- Main Body:
- Left Panel: Problem display in scientific notation.
- Right Panel: Answer buttons for number format & metric prefixes.
- Footer: Displays timer, score, and End Game button.
- End Game Overlay: Shows final score + fireworks animation.
- Scripts: Load XAPI Wrapper, Google Analytics, and Google Ads.
-
CSS Styling:
- Full-screen, flexible layout (grid/flexbox).
- Interactive buttons (hover effects, selected state).
- Dynamic animations (button effects, fireworks on completion).
-
JavaScript Logic:
- Game Initialization: Generates random problems with metric conversion rules.
- User Interaction:
- Handles number & prefix selection.
- Provides instant feedback.
- Scoring System:
- Correct = +1
- Incorrect = reset to 0
- Timer: Counts down from 60 seconds.
- XAPI Integration:
- Retrieves XAPI parameters from URL.
- Sends final score at the end of the session.
- Fireworks Animation:
- Canvas-based particle explosion triggered when the game ends.
Example XAPI Data Flow
- Retrieve XAPI credentials from URL parameters:
- Send final score to XAPI LRS:
Generate the Full HTML + JavaScript Game
Generate a complete HTML file including:
✅ Game UI (responsive, two-column layout).
✅ Game Logic (random problems, scoring, XAPI tracking).
✅ Google Analytics & Ads Integration.
✅ Fireworks Animation for Engagement.
Output Code Structure:
Now, generate the full functional game based on the specifications above.
Sample Learning Goals
[text]
For Teachers
[text]
Research
[text]
Video
[text]
Version:
Other Resources
[text]