From 54c7e3cdbb0736dfb43c4e37bee5098ec1353db6 Mon Sep 17 00:00:00 2001 From: George Powell Date: Sat, 27 Dec 2025 00:48:06 -0500 Subject: [PATCH] Visual fixes, typo fixes, and updated todo + metadata --- .gitignore | 3 + EnglishNKJBible.xml | 2 +- src/lib/components/VerseDisplay.svelte | 5 +- src/lib/components/WinScreen.svelte | 4 +- src/routes/+page.svelte | 712 +++++++++++++------------ todo.md | 34 +- 6 files changed, 396 insertions(+), 364 deletions(-) diff --git a/.gitignore b/.gitignore index fd83719..30287df 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ vite.config.ts.timestamp-* llms-* +engwebu_usfx.xml +embeddings-cache-L12.json +embeddings-cache-L6.json diff --git a/EnglishNKJBible.xml b/EnglishNKJBible.xml index db2f224..be873df 100644 --- a/EnglishNKJBible.xml +++ b/EnglishNKJBible.xml @@ -20271,7 +20271,7 @@ Thus says the Lord: “Keep justice, and do righteousness, For My salvation is about to come, And My righteousness to be revealed. Blessed is the man who does this, And the son of man who lays hold on it; Who keeps from defiling the Sabbath, And keeps his hand from doing any evil.” - Do not let the son of the foreigner Who has joined himself to the LordSpeak, saying, “The Lord has utterly separated me from His people”; Nor let the eunuch say, “Here I am, a dry tree.” + Do not let the son of the foreigner Who has joined himself to the Lord speak, saying, “The Lord has utterly separated me from His people”; Nor let the eunuch say, “Here I am, a dry tree.” For thus says the Lord: “To the eunuchs who keep My Sabbaths, And choose what pleases Me, And hold fast My covenant, Even to them I will give in My house And within My walls a place and a name Better than that of sons and daughters; I will give them an everlasting name That shall not be cut off. “Also the sons of the foreigner Who join themselves to the Lord, to serve Him, And to love the name of the Lord, to be His servants— Everyone who keeps from defiling the Sabbath, And holds fast My covenant— diff --git a/src/lib/components/VerseDisplay.svelte b/src/lib/components/VerseDisplay.svelte index 8455f74..e045399 100644 --- a/src/lib/components/VerseDisplay.svelte +++ b/src/lib/components/VerseDisplay.svelte @@ -6,13 +6,16 @@ let displayReference = $derived( dailyVerse.reference.replace(/^Psalms /, "Psalm ") ); + let displayVerseText = $derived( + dailyVerse.verseText.replace(/^([a-z])/, (c) => c.toUpperCase()) + );
- {dailyVerse.verseText} + {displayVerseText}
{#if isWon}

diff --git a/src/lib/components/WinScreen.svelte b/src/lib/components/WinScreen.svelte index e11d0db..b580e40 100644 --- a/src/lib/components/WinScreen.svelte +++ b/src/lib/components/WinScreen.svelte @@ -167,8 +167,8 @@ {statsData.averageGuesses}

- People guessed correctly after {statsData.averageGuesses} guesses on - average + People guessed correctly after {statsData.averageGuesses} + {statsData.averageGuesses === 1 ? "guess" : "guesses"} on average
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f38e39b..e9e9aac 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,417 +1,421 @@ - Bibdle — A daily bible game{isDev ? " (dev)" : ""} - + Bibdle — A daily bible game{isDev ? " (dev)" : ""} +
-
-

- -
-

-
- {isDev ? "Dev Edition | " : ""}{currentDate} -
+
+

+ +
+

+
+ {isDev ? "Dev Edition | " : ""}{currentDate} +
- + - {#if !isWon} - - {:else} - - - {/if} + {#if !isWon} + + {:else} + + + {/if} - - {#if isWon} - - {/if} - {#if isDev} - - {/if} -
+ + {#if isWon} + + {/if} + {#if isDev} + + {/if} +
diff --git a/todo.md b/todo.md index 486b49c..8e56d71 100644 --- a/todo.md +++ b/todo.md @@ -1,20 +1,36 @@ +# in progress + + +- root menu: classic / imposter mode / impossible mode (complete today's classic and imposter modes to unlock) + + # todo -- Difficulty levels -- difficult mode (guess old or new testament, first try _only_) -- impossible mode (1894 scrivener koine greek NT or some hebrew version for OT) three guesses only +- impossible mode (1904 greek bible) three guesses only. + - share both classic and impossible mode with both buttons -- "login to see your stats, unlock practice mode, and more" +- add imposter mode +- instructions + - classic mode: identify what book the verse is from (e.g. Genesis, John, Revelations...) in as few guesses as possible. + - imposter mode: out of four options, identify the verse that is not in the Bible + - impossible mode: identify which book of the bible the verse is from in less than three guesses. + +- add login + saved stats + streak etc. + +- add deuterocanonical books + + - Practice mode: Unlimited verses - Create public or private leaderboards - Passport book with badges: - - Guess each Gospel first try - "Guessed all Gospels", "Perfect week", "Old Testament expert" - Theologian: Guess each book first try -- instructions + + +- difficult mode (guess old or new testament, first try _only_) (???) # places to send @@ -36,6 +52,12 @@ I created Bibdle from a combination of two things. The first is my lifelong desi # done +## december 26th + +- created embeddings for every bible verse (verse similarity finder) +- failed at having AI write a USFX format parser +- found a npm library for parsing USFX + ## december 23rd - switched to local copy of NKJV