๐ Live protocol (verified against the plugin source)
On race end the game dispatches learnaroo_submit (event + postMessage). The host's Learnaroo_Game_Tracker bridge backfills the resource post ID and POSTs to /wp-json/learnaroo/v1/game-score, which records the attempt and forwards to Learnaroo_Progress_Tracker::record_game().
topicIdbackfilled to the resource post ID by the host bridge
scoreAchievedprogress.best_score (climbs; leaderboard)
scorePossibleprogress.best_total โ best_percent = accuracy
timeTakenSecondsprogress.total_time_seconds (time-on-task)
(each play)downloads row event_type=game_score + progress.attempts++
statusprogress.status โ completed; assignments.completion_flag
best_percent โฅ 80PATCH NEEDED โ gate completion at the 80% pass mark
learnaroo_resource_completedPATCH NEEDED โ fire so badges auto-award on game pass
errorLog[] / topSpeedNEW richer telemetry (future sprint)