added toggle verse display and fixed timer spacing

This commit is contained in:
George Powell
2026-02-26 01:23:13 -05:00
parent f3c9feaf97
commit e1a665ba63
4 changed files with 98 additions and 10 deletions

View File

@@ -1,4 +1,3 @@
import type { SHA512_256 } from '@oslojs/crypto/sha2';
import type { Guess } from './game';
export function getVerseSnippet(verseText: string): string {
@@ -16,8 +15,8 @@ export function getVerseSnippet(verseText: string): string {
return pos;
}
const start = posAfterWord(10);
const end = posAfterWord(18);
const start = posAfterWord(9);
const end = posAfterWord(25);
// Find first punctuation mark between words 10 and 25
const range = text.substring(start, end);