From 0b9d46fed15a4301347f317503429ffebc2cdef5 Mon Sep 17 00:00:00 2001 From: "nate@necloud.us" Date: Thu, 14 Aug 2025 09:44:31 -0400 Subject: [PATCH] test --- data/badges.json | 52 +++++++++++++++++++++++++++++++++++++++------- data/results.json | 48 +++++++++++++++++++++++++++++++++++++++++- public/js/bible.js | 4 ++++ 3 files changed, 96 insertions(+), 8 deletions(-) diff --git a/data/badges.json b/data/badges.json index 2f5702d..c0fe020 100644 --- a/data/badges.json +++ b/data/badges.json @@ -1,11 +1,49 @@ { - "nate": [ - "Perfect Round", - "No Misses", - "Accuracy Master", - "Practice Streak", - "Vocabulary Pro" - ], + "nate": { + "earned": [ + { + "id": "perfect_round", + "name": "Perfect Round", + "icon": "🏅", + "earnedAt": "2025-08-14T13:36:30.690Z" + }, + { + "id": "no_misses", + "name": "No Misses", + "icon": "🏅", + "earnedAt": "2025-08-14T13:36:30.690Z" + }, + { + "id": "accuracy_master", + "name": "Accuracy Master", + "icon": "🏅", + "earnedAt": "2025-08-14T13:36:30.690Z" + }, + { + "id": "practice_streak", + "name": "Practice Streak", + "icon": "🏅", + "earnedAt": "2025-08-14T13:36:30.690Z" + }, + { + "id": "vocabulary_pro", + "name": "Vocabulary Pro", + "icon": "🏅", + "earnedAt": "2025-08-14T13:36:30.690Z" + }, + { + "id": "perfect_accuracy", + "name": "Perfect Score", + "icon": "🏆", + "description": "You scored 100% on your spelling test!", + "category": "accuracy", + "earnedAt": "2025-08-14T13:36:30.690Z" + } + ], + "counts": { + "accuracy": 1 + } + }, "admin1": { "earned": [ { diff --git a/data/results.json b/data/results.json index 88c18ce..9d78c6c 100644 --- a/data/results.json +++ b/data/results.json @@ -16,7 +16,53 @@ } ], "student1": [], - "nate": [], + "nate": [ + { + "score": 3, + "completed": true, + "answers": [ + { + "word": "bate", + "input": "bate", + "correct": true + }, + { + "word": "hate", + "input": "hate", + "correct": true + }, + { + "word": "late", + "input": "late", + "correct": true + } + ], + "timestamp": "2025-08-14T13:36:05.098Z", + "type": "typing" + }, + { + "score": 100, + "completed": true, + "answers": [ + { + "word": "bate", + "attempt": "bate", + "correct": true + }, + { + "word": "hate", + "attempt": "hate", + "correct": true + }, + { + "word": "late", + "attempt": "late", + "correct": true + } + ], + "timestamp": "2025-08-14T13:36:30.685Z" + } + ], "testuser": [ { "score": 85, diff --git a/public/js/bible.js b/public/js/bible.js index 01221c1..22817a8 100644 --- a/public/js/bible.js +++ b/public/js/bible.js @@ -63,6 +63,10 @@ const bibleVerses = [ reference: "Matthew 6:33", text: "But seek first the kingdom of God and his righteousness, and all these things will be added to you." } + { + reference: "John 11:36", + text: "Jesus wept." + } ]; // Global state for Bible typing