Bläddra i källkod

doc: old prompts for changes

Oleg Panashchenko 1 vecka sedan
förälder
incheckning
edf5c04001

+ 4 - 0
raw/01-refactor-runtime-difficulty-replay copy.txt

@@ -0,0 +1,4 @@
+Refactor.
+Now word-bank*.json files have 4 elements in 'targets' object: pre-defined 'id', 'word', and calculated 'difficulty' and 'replays'. 
+The 'difficulty' and 'replays' are returned by API on the last guess.
+Can 'difficulty' and 'replays' be calculated at runtime before returned by API, and the two fields removed from word-bank*.json files?   

+ 5 - 0
raw/02-refactor-difficulty-replay-no-startup-to-cache.txt

@@ -0,0 +1,5 @@
+Refactor.
+Now difficulty and replays are calculated at startup for 3 solvers. The 4th solver is excluded due to startup time constraints.
+Could we remove these calculations for all words from startup, but take it from cache. The cache is empty at startup. 
+Once a word is first returned by API, the calculations for all 4 algorithms are started for the word is a separate thread, 
+and then calculated results are stored to the cache. API returns replays and difficulty values from the cache. 

+ 6 - 0
raw/03-feature-complexity.txt

@@ -0,0 +1,6 @@
+Feature
+New files raw/english-5letter-sortfreq-wordsonly.txt and raw/russian-5letter-sortfreq-wordsonly.txt 
+coniain new dictionaries sorted by descending frequency appearance in common texts.
+Replace dictionaries in word-bank*.json to content of the new files. Pick a set of distinct 100 words for each language for 
+targets from new dictionaries using gaussian distribution with mean on the first word, and sigma on the 100th - so 
+most frequent words appear more frequently than uncommon words.

+ 6 - 0
raw/04-feature-edit-validate-word.txt

@@ -0,0 +1,6 @@
+Feature. UI: make word editable with on-the-fly word verification. 
+- Add blinking underline cursor in the current guess to show location where new letter will be inserted.
+- Update on-screen keyboard to add row with the keys: Enter, Left, Right, Backspace. Remove Enter and Backspace from existing rows.
+- If current try line does not contain 5 letters, or current try is not a valid word per API call, grey out and disable 'Enter' key.
+- Left and Right keys move cursor by one position.
+- When cursor points to a letter, entering new letter replaces the letter under cursor, and does not change anything else.

+ 2 - 0
raw/05-feature-tap-guess-move-cursor.txt

@@ -0,0 +1,2 @@
+Feature
+Tapping on a letter in current guess should move cursor to the tapped letter.