mirror of
https://github.com/pupperpowell/bibdle.git
synced 2026-04-06 01:43:32 -04:00
added toggle verse display and fixed timer spacing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user