scrabble-solver 2.18.9 → 2.18.10-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1209) hide show
  1. package/.oxlintrc.json +19 -21
  2. package/CLAUDE.md +6 -5
  3. package/README.md +0 -1
  4. package/bun.lock +216 -1391
  5. package/e2e/app.spec.ts +4 -4
  6. package/e2e/bugs/112-character-bonus.spec.ts +1 -1
  7. package/e2e/bugs/129-esc-sidebar.spec.ts +1 -1
  8. package/e2e/bugs/3-x-tile-in-polish.spec.ts +1 -1
  9. package/e2e/bugs/30-click-inside-radio-icon.spec.ts +1 -1
  10. package/e2e/bugs/333-disabled-radio-cursor.spec.ts +1 -1
  11. package/e2e/bugs/342-results-sorting.spec.ts +1 -1
  12. package/e2e/bugs/363-dictionary-input-unique-words.spec.ts +1 -1
  13. package/e2e/bugs/380-transliteration-when-pasting.spec.ts +2 -2
  14. package/e2e/bugs/398-digraphs-in-created-words.spec.ts +2 -2
  15. package/e2e/bugs/401-board-state-on-game-change.spec.ts +1 -1
  16. package/e2e/bugs/452-stale-translations-cache.spec.ts +1 -1
  17. package/e2e/features/198-highlight-unreachable-cells.spec.ts +3 -4
  18. package/e2e/features/430-highlight-unreachable-cells-results.spec.ts +3 -4
  19. package/e2e/features/91-hover-remaining-tile-highlights.spec.ts +4 -5
  20. package/e2e/features/hidden-coordinates-migration.spec.ts +1 -1
  21. package/e2e/features/results-interactions.spec.ts +1 -1
  22. package/e2e/features/solver-paths.spec.ts +1 -1
  23. package/e2e/features/words-interactions.spec.ts +1 -1
  24. package/e2e/features/words-preview.spec.ts +4 -4
  25. package/e2e/lib/actions.ts +18 -5
  26. package/e2e/lib/selectors.ts +1 -1
  27. package/nx.json +30 -1
  28. package/package.json +11 -15
  29. package/project.json +3 -0
  30. package/.claude/settings.local.json +0 -38
  31. package/.github/workflows/build.yml +0 -16
  32. package/.github/workflows/bunx.yml +0 -66
  33. package/.github/workflows/deploy.yml +0 -32
  34. package/.github/workflows/e2e.yml +0 -26
  35. package/.github/workflows/npx.yml +0 -69
  36. package/.github/workflows/oxfmt.yml +0 -18
  37. package/.github/workflows/oxlint.yml +0 -19
  38. package/.github/workflows/unit.yml +0 -19
  39. package/.nx/workspace-data/file-map.json +0 -3128
  40. package/.nx/workspace-data/lockfile-dependencies.hash +0 -1
  41. package/.nx/workspace-data/lockfile-dependencies.json +0 -12430
  42. package/.nx/workspace-data/lockfile-nodes.hash +0 -1
  43. package/.nx/workspace-data/lockfile-nodes.json +0 -22994
  44. package/.nx/workspace-data/lockfile.hash +0 -1
  45. package/.nx/workspace-data/nx_files.lock +0 -0
  46. package/.nx/workspace-data/nx_files.nxt +0 -0
  47. package/.nx/workspace-data/nx_files_v2.nxt +0 -0
  48. package/.nx/workspace-data/parsed-lock-file.dependencies.json +0 -12627
  49. package/.nx/workspace-data/parsed-lock-file.json +0 -34331
  50. package/.nx/workspace-data/parsed-lock-file.nodes.json +0 -23684
  51. package/.nx/workspace-data/project-graph.json +0 -37814
  52. package/.nx/workspace-data/project-graph.lock +0 -0
  53. package/.nx/workspace-data/source-maps.json +0 -1936
  54. package/bump-version.js +0 -39
  55. package/lerna.json +0 -11
  56. package/packages/configs/README.md +0 -3
  57. package/packages/configs/build/games/crossplay.d.ts +0 -19
  58. package/packages/configs/build/games/crossplay.js +0 -73
  59. package/packages/configs/build/games/index.d.ts +0 -9
  60. package/packages/configs/build/games/index.js +0 -25
  61. package/packages/configs/build/games/kelimelik.d.ts +0 -19
  62. package/packages/configs/build/games/kelimelik.js +0 -65
  63. package/packages/configs/build/games/letterLeague.d.ts +0 -19
  64. package/packages/configs/build/games/letterLeague.js +0 -161
  65. package/packages/configs/build/games/literaki.d.ts +0 -26
  66. package/packages/configs/build/games/literaki.js +0 -110
  67. package/packages/configs/build/games/scrabble.d.ts +0 -19
  68. package/packages/configs/build/games/scrabble.js +0 -78
  69. package/packages/configs/build/games/scrabbleDuel.d.ts +0 -19
  70. package/packages/configs/build/games/scrabbleDuel.js +0 -50
  71. package/packages/configs/build/games/superScrabble.d.ts +0 -19
  72. package/packages/configs/build/games/superScrabble.js +0 -141
  73. package/packages/configs/build/games/wordfeud.d.ts +0 -19
  74. package/packages/configs/build/games/wordfeud.js +0 -81
  75. package/packages/configs/build/games/wyrazy.d.ts +0 -19
  76. package/packages/configs/build/games/wyrazy.js +0 -73
  77. package/packages/configs/build/getConfig.d.ts +0 -2
  78. package/packages/configs/build/getConfig.js +0 -46
  79. package/packages/configs/build/hasConfig.d.ts +0 -2
  80. package/packages/configs/build/hasConfig.js +0 -42
  81. package/packages/configs/build/index.d.ts +0 -5
  82. package/packages/configs/build/index.js +0 -44
  83. package/packages/configs/build/languages/english.d.ts +0 -15
  84. package/packages/configs/build/languages/english.js +0 -456
  85. package/packages/configs/build/languages/french.d.ts +0 -2
  86. package/packages/configs/build/languages/french.js +0 -37
  87. package/packages/configs/build/languages/german.d.ts +0 -2
  88. package/packages/configs/build/languages/german.js +0 -40
  89. package/packages/configs/build/languages/index.d.ts +0 -8
  90. package/packages/configs/build/languages/index.js +0 -24
  91. package/packages/configs/build/languages/persian.d.ts +0 -2
  92. package/packages/configs/build/languages/persian.js +0 -43
  93. package/packages/configs/build/languages/polish.d.ts +0 -4
  94. package/packages/configs/build/languages/polish.js +0 -119
  95. package/packages/configs/build/languages/romanian.d.ts +0 -3
  96. package/packages/configs/build/languages/romanian.js +0 -64
  97. package/packages/configs/build/languages/spanish.d.ts +0 -2
  98. package/packages/configs/build/languages/spanish.js +0 -39
  99. package/packages/configs/build/languages/turkish.d.ts +0 -3
  100. package/packages/configs/build/languages/turkish.js +0 -75
  101. package/packages/configs/package.json +0 -41
  102. package/packages/configs/src/games/crossplay.ts +0 -87
  103. package/packages/configs/src/games/index.ts +0 -9
  104. package/packages/configs/src/games/kelimelik.ts +0 -63
  105. package/packages/configs/src/games/letterLeague.ts +0 -177
  106. package/packages/configs/src/games/literaki.ts +0 -108
  107. package/packages/configs/src/games/scrabble.ts +0 -76
  108. package/packages/configs/src/games/scrabbleDuel.ts +0 -56
  109. package/packages/configs/src/games/superScrabble.ts +0 -139
  110. package/packages/configs/src/games/wordfeud.ts +0 -79
  111. package/packages/configs/src/games/wyrazy.ts +0 -71
  112. package/packages/configs/src/getConfig.ts +0 -14
  113. package/packages/configs/src/hasConfig.ts +0 -8
  114. package/packages/configs/src/index.ts +0 -6
  115. package/packages/configs/src/languages/english.ts +0 -469
  116. package/packages/configs/src/languages/french.ts +0 -36
  117. package/packages/configs/src/languages/german.ts +0 -39
  118. package/packages/configs/src/languages/index.ts +0 -8
  119. package/packages/configs/src/languages/persian.ts +0 -42
  120. package/packages/configs/src/languages/polish.ts +0 -120
  121. package/packages/configs/src/languages/romanian.ts +0 -64
  122. package/packages/configs/src/languages/spanish.ts +0 -38
  123. package/packages/configs/src/languages/turkish.ts +0 -75
  124. package/packages/configs/tsconfig.json +0 -10
  125. package/packages/constants/README.md +0 -3
  126. package/packages/constants/build/index.d.ts +0 -12
  127. package/packages/constants/build/index.js +0 -12
  128. package/packages/constants/package.json +0 -30
  129. package/packages/constants/src/index.ts +0 -17
  130. package/packages/constants/tsconfig.json +0 -10
  131. package/packages/dictionaries/README.md +0 -3
  132. package/packages/dictionaries/bin/remove-dictionaries.js +0 -13
  133. package/packages/dictionaries/bin/update-dictionaries.js +0 -14
  134. package/packages/dictionaries/build/Dictionaries.d.ts +0 -12
  135. package/packages/dictionaries/build/Dictionaries.js +0 -53
  136. package/packages/dictionaries/build/constants.d.ts +0 -3
  137. package/packages/dictionaries/build/constants.js +0 -11
  138. package/packages/dictionaries/build/index.d.ts +0 -3
  139. package/packages/dictionaries/build/index.js +0 -20
  140. package/packages/dictionaries/build/lib/DiskCache.d.ts +0 -17
  141. package/packages/dictionaries/build/lib/DiskCache.js +0 -66
  142. package/packages/dictionaries/build/lib/LayeredCache.d.ts +0 -12
  143. package/packages/dictionaries/build/lib/LayeredCache.js +0 -53
  144. package/packages/dictionaries/build/lib/MemoryCache.d.ts +0 -12
  145. package/packages/dictionaries/build/lib/MemoryCache.js +0 -33
  146. package/packages/dictionaries/build/lib/createAsyncProxy.d.ts +0 -3
  147. package/packages/dictionaries/build/lib/createAsyncProxy.js +0 -19
  148. package/packages/dictionaries/build/lib/createCacheTimestampComparator.d.ts +0 -4
  149. package/packages/dictionaries/build/lib/createCacheTimestampComparator.js +0 -20
  150. package/packages/dictionaries/build/lib/downloadDictionary.d.ts +0 -3
  151. package/packages/dictionaries/build/lib/downloadDictionary.js +0 -20
  152. package/packages/dictionaries/build/lib/getDictionaryFilepath.d.ts +0 -4
  153. package/packages/dictionaries/build/lib/getDictionaryFilepath.js +0 -17
  154. package/packages/dictionaries/build/lib/index.d.ts +0 -7
  155. package/packages/dictionaries/build/lib/index.js +0 -17
  156. package/packages/dictionaries/build/types.d.ts +0 -7
  157. package/packages/dictionaries/build/types.js +0 -2
  158. package/packages/dictionaries/package.json +0 -46
  159. package/packages/dictionaries/src/Dictionaries.ts +0 -65
  160. package/packages/dictionaries/src/constants.ts +0 -8
  161. package/packages/dictionaries/src/index.ts +0 -5
  162. package/packages/dictionaries/src/lib/DiskCache.test.ts +0 -85
  163. package/packages/dictionaries/src/lib/DiskCache.ts +0 -77
  164. package/packages/dictionaries/src/lib/LayeredCache.ts +0 -67
  165. package/packages/dictionaries/src/lib/MemoryCache.ts +0 -40
  166. package/packages/dictionaries/src/lib/createAsyncProxy.ts +0 -18
  167. package/packages/dictionaries/src/lib/createCacheTimestampComparator.ts +0 -25
  168. package/packages/dictionaries/src/lib/downloadDictionary.ts +0 -21
  169. package/packages/dictionaries/src/lib/getDictionaryFilepath.ts +0 -13
  170. package/packages/dictionaries/src/lib/index.ts +0 -7
  171. package/packages/dictionaries/src/types.ts +0 -7
  172. package/packages/dictionaries/tsconfig.json +0 -10
  173. package/packages/logger/README.md +0 -21
  174. package/packages/logger/build/constants.d.ts +0 -4
  175. package/packages/logger/build/constants.js +0 -12
  176. package/packages/logger/build/describeError.d.ts +0 -5
  177. package/packages/logger/build/describeError.js +0 -23
  178. package/packages/logger/build/events.d.ts +0 -92
  179. package/packages/logger/build/events.js +0 -13
  180. package/packages/logger/build/formatCsvRow.d.ts +0 -2
  181. package/packages/logger/build/formatCsvRow.js +0 -20
  182. package/packages/logger/build/index.d.ts +0 -5
  183. package/packages/logger/build/index.js +0 -15
  184. package/packages/logger/build/logError.d.ts +0 -4
  185. package/packages/logger/build/logError.js +0 -17
  186. package/packages/logger/build/logEvent.d.ts +0 -3
  187. package/packages/logger/build/logEvent.js +0 -29
  188. package/packages/logger/package.json +0 -34
  189. package/packages/logger/scripts/export-csv.ts +0 -113
  190. package/packages/logger/scripts/readEvents.ts +0 -34
  191. package/packages/logger/scripts/tsconfig.json +0 -10
  192. package/packages/logger/src/constants.ts +0 -13
  193. package/packages/logger/src/describeError.test.ts +0 -44
  194. package/packages/logger/src/describeError.ts +0 -30
  195. package/packages/logger/src/events.ts +0 -103
  196. package/packages/logger/src/formatCsvRow.test.ts +0 -41
  197. package/packages/logger/src/formatCsvRow.ts +0 -24
  198. package/packages/logger/src/index.ts +0 -13
  199. package/packages/logger/src/logError.ts +0 -24
  200. package/packages/logger/src/logEvent.test.ts +0 -59
  201. package/packages/logger/src/logEvent.ts +0 -26
  202. package/packages/logger/tsconfig.json +0 -10
  203. package/packages/scrabble-solver/.env +0 -1
  204. package/packages/scrabble-solver/.next/BUILD_ID +0 -1
  205. package/packages/scrabble-solver/.next/build-manifest.json +0 -42
  206. package/packages/scrabble-solver/.next/cache/.previewinfo +0 -1
  207. package/packages/scrabble-solver/.next/cache/.rscinfo +0 -1
  208. package/packages/scrabble-solver/.next/cache/.tsbuildinfo +0 -1
  209. package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +0 -4
  210. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
  211. package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack.old +0 -0
  212. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/0.pack +0 -0
  213. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
  214. package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
  215. package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
  216. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
  217. package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack.old +0 -0
  218. package/packages/scrabble-solver/.next/diagnostics/build-diagnostics.json +0 -6
  219. package/packages/scrabble-solver/.next/diagnostics/framework.json +0 -1
  220. package/packages/scrabble-solver/.next/dynamic-css-manifest.json +0 -8
  221. package/packages/scrabble-solver/.next/export-marker.json +0 -6
  222. package/packages/scrabble-solver/.next/images-manifest.json +0 -68
  223. package/packages/scrabble-solver/.next/next-minimal-server.js.nft.json +0 -1
  224. package/packages/scrabble-solver/.next/next-server.js.nft.json +0 -1
  225. package/packages/scrabble-solver/.next/package.json +0 -1
  226. package/packages/scrabble-solver/.next/prerender-manifest.json +0 -28
  227. package/packages/scrabble-solver/.next/react-loadable-manifest.json +0 -176
  228. package/packages/scrabble-solver/.next/required-server-files.js +0 -371
  229. package/packages/scrabble-solver/.next/required-server-files.json +0 -371
  230. package/packages/scrabble-solver/.next/routes-manifest.json +0 -129
  231. package/packages/scrabble-solver/.next/server/chunks/30.js +0 -6
  232. package/packages/scrabble-solver/.next/server/chunks/309.js +0 -1
  233. package/packages/scrabble-solver/.next/server/chunks/344.js +0 -1
  234. package/packages/scrabble-solver/.next/server/chunks/371.js +0 -1
  235. package/packages/scrabble-solver/.next/server/chunks/465.js +0 -1
  236. package/packages/scrabble-solver/.next/server/chunks/546.js +0 -1
  237. package/packages/scrabble-solver/.next/server/chunks/612.js +0 -5
  238. package/packages/scrabble-solver/.next/server/chunks/623.js +0 -1
  239. package/packages/scrabble-solver/.next/server/chunks/624.js +0 -1
  240. package/packages/scrabble-solver/.next/server/chunks/641.js +0 -1
  241. package/packages/scrabble-solver/.next/server/chunks/67.js +0 -1
  242. package/packages/scrabble-solver/.next/server/chunks/671.js +0 -1
  243. package/packages/scrabble-solver/.next/server/chunks/692.js +0 -1
  244. package/packages/scrabble-solver/.next/server/chunks/705.js +0 -1
  245. package/packages/scrabble-solver/.next/server/chunks/712.js +0 -1
  246. package/packages/scrabble-solver/.next/server/chunks/715.js +0 -1
  247. package/packages/scrabble-solver/.next/server/chunks/812.js +0 -1
  248. package/packages/scrabble-solver/.next/server/chunks/846.js +0 -1
  249. package/packages/scrabble-solver/.next/server/chunks/853.js +0 -15
  250. package/packages/scrabble-solver/.next/server/chunks/886.js +0 -1
  251. package/packages/scrabble-solver/.next/server/chunks/942.js +0 -1
  252. package/packages/scrabble-solver/.next/server/chunks/953.js +0 -1
  253. package/packages/scrabble-solver/.next/server/chunks/961.js +0 -1
  254. package/packages/scrabble-solver/.next/server/chunks/968.js +0 -1
  255. package/packages/scrabble-solver/.next/server/dynamic-css-manifest.js +0 -1
  256. package/packages/scrabble-solver/.next/server/functions-config-manifest.json +0 -4
  257. package/packages/scrabble-solver/.next/server/interception-route-rewrite-manifest.js +0 -1
  258. package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +0 -1
  259. package/packages/scrabble-solver/.next/server/middleware-manifest.json +0 -6
  260. package/packages/scrabble-solver/.next/server/middleware-react-loadable-manifest.js +0 -1
  261. package/packages/scrabble-solver/.next/server/next-font-manifest.js +0 -1
  262. package/packages/scrabble-solver/.next/server/next-font-manifest.json +0 -1
  263. package/packages/scrabble-solver/.next/server/pages/404.html +0 -29
  264. package/packages/scrabble-solver/.next/server/pages/500.html +0 -29
  265. package/packages/scrabble-solver/.next/server/pages/_app.js +0 -1
  266. package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +0 -1
  267. package/packages/scrabble-solver/.next/server/pages/_document.js +0 -28
  268. package/packages/scrabble-solver/.next/server/pages/_document.js.nft.json +0 -1
  269. package/packages/scrabble-solver/.next/server/pages/_error.js +0 -28
  270. package/packages/scrabble-solver/.next/server/pages/_error.js.nft.json +0 -1
  271. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js +0 -2
  272. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +0 -1
  273. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js +0 -1
  274. package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js.nft.json +0 -1
  275. package/packages/scrabble-solver/.next/server/pages/api/solve.js +0 -1
  276. package/packages/scrabble-solver/.next/server/pages/api/solve.js.nft.json +0 -1
  277. package/packages/scrabble-solver/.next/server/pages/api/verify.js +0 -1
  278. package/packages/scrabble-solver/.next/server/pages/api/verify.js.nft.json +0 -1
  279. package/packages/scrabble-solver/.next/server/pages/api/visit.js +0 -1
  280. package/packages/scrabble-solver/.next/server/pages/api/visit.js.nft.json +0 -1
  281. package/packages/scrabble-solver/.next/server/pages/index.html +0 -29
  282. package/packages/scrabble-solver/.next/server/pages/index.js +0 -30
  283. package/packages/scrabble-solver/.next/server/pages/index.js.nft.json +0 -1
  284. package/packages/scrabble-solver/.next/server/pages/index.json +0 -1
  285. package/packages/scrabble-solver/.next/server/pages/index.meta +0 -1
  286. package/packages/scrabble-solver/.next/server/pages/not-found.html +0 -29
  287. package/packages/scrabble-solver/.next/server/pages/not-found.js.nft.json +0 -1
  288. package/packages/scrabble-solver/.next/server/pages-manifest.json +0 -13
  289. package/packages/scrabble-solver/.next/server/prefetch-hints.json +0 -1
  290. package/packages/scrabble-solver/.next/server/preview-props.json +0 -5
  291. package/packages/scrabble-solver/.next/server/route-cache/PAGES/8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1/$/index.html +0 -29
  292. package/packages/scrabble-solver/.next/server/route-cache/PAGES/8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1/$/index.json +0 -1
  293. package/packages/scrabble-solver/.next/server/route-cache/PAGES/8a5edab282632443219e051e4ade2d1d5bbc671c781051bf1437897cbdfea0f1/$/index.meta +0 -1
  294. package/packages/scrabble-solver/.next/server/webpack-api-runtime.js +0 -1
  295. package/packages/scrabble-solver/.next/server/webpack-runtime.js +0 -1
  296. package/packages/scrabble-solver/.next/static/ZAXBgTNB3tlEK8seyFXPO/_buildManifest.js +0 -1
  297. package/packages/scrabble-solver/.next/static/ZAXBgTNB3tlEK8seyFXPO/_ssgManifest.js +0 -1
  298. package/packages/scrabble-solver/.next/static/chunks/100.305bdf9c75b1758f.js +0 -1
  299. package/packages/scrabble-solver/.next/static/chunks/256.9fcbd6c03ebdb85b.js +0 -1
  300. package/packages/scrabble-solver/.next/static/chunks/277.6785dfaf22fdb0b7.js +0 -1
  301. package/packages/scrabble-solver/.next/static/chunks/307.89e6100f58443679.js +0 -1
  302. package/packages/scrabble-solver/.next/static/chunks/341.79535ba85bf1986f.js +0 -1
  303. package/packages/scrabble-solver/.next/static/chunks/363.1e1dca73189c1b3e.js +0 -1
  304. package/packages/scrabble-solver/.next/static/chunks/422.3e55b4c94e328701.js +0 -1
  305. package/packages/scrabble-solver/.next/static/chunks/541.dcd9e8b804f88da5.js +0 -1
  306. package/packages/scrabble-solver/.next/static/chunks/601.32e35cfa23379a43.js +0 -1
  307. package/packages/scrabble-solver/.next/static/chunks/631.98d42abad0a60af6.js +0 -1
  308. package/packages/scrabble-solver/.next/static/chunks/663.bd2c45413fbca518.js +0 -1
  309. package/packages/scrabble-solver/.next/static/chunks/693.1f53805be6ad36d1.js +0 -1
  310. package/packages/scrabble-solver/.next/static/chunks/744-5ad846426b8f4514.js +0 -3
  311. package/packages/scrabble-solver/.next/static/chunks/820.823e9e885ebb66af.js +0 -1
  312. package/packages/scrabble-solver/.next/static/chunks/827.d01b6d69af340ba4.js +0 -1
  313. package/packages/scrabble-solver/.next/static/chunks/865.59baba8296c9b116.js +0 -1
  314. package/packages/scrabble-solver/.next/static/chunks/912.077603e4f0bc6cca.js +0 -1
  315. package/packages/scrabble-solver/.next/static/chunks/939.2ad86b50405c7897.js +0 -1
  316. package/packages/scrabble-solver/.next/static/chunks/980.dd35e807b18063c1.js +0 -1
  317. package/packages/scrabble-solver/.next/static/chunks/990.61296e5870b91f11.js +0 -1
  318. package/packages/scrabble-solver/.next/static/chunks/framework-86d3b250d278cea9.js +0 -1
  319. package/packages/scrabble-solver/.next/static/chunks/main-738e097cd313908f.js +0 -5
  320. package/packages/scrabble-solver/.next/static/chunks/pages/_app-649c89598d664fab.js +0 -1
  321. package/packages/scrabble-solver/.next/static/chunks/pages/_error-f0290a98eb3ed0ec.js +0 -1
  322. package/packages/scrabble-solver/.next/static/chunks/pages/index-ebba11f9b00e2bb5.js +0 -1
  323. package/packages/scrabble-solver/.next/static/chunks/pages/not-found-a59f9deeeff63d17.js +0 -1
  324. package/packages/scrabble-solver/.next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
  325. package/packages/scrabble-solver/.next/static/chunks/webpack-e8cd77eb7929e1f0.js +0 -1
  326. package/packages/scrabble-solver/.next/static/css/2d03f0da2c678dfc.css +0 -1
  327. package/packages/scrabble-solver/.next/static/css/4dbcacc1122ac6b9.css +0 -2
  328. package/packages/scrabble-solver/.next/static/css/7b6724d2df70f48f.css +0 -1
  329. package/packages/scrabble-solver/.next/static/css/8b8087461767360a.css +0 -1
  330. package/packages/scrabble-solver/.next/static/css/98051ed25076b896.css +0 -1
  331. package/packages/scrabble-solver/.next/static/css/b736be3bd02b5d99.css +0 -1
  332. package/packages/scrabble-solver/.next/static/css/ca311e6c030663d4.css +0 -1
  333. package/packages/scrabble-solver/.next/static/css/cd4d7f2458487399.css +0 -1
  334. package/packages/scrabble-solver/.next/static/css/dee878eb64099d92.css +0 -1
  335. package/packages/scrabble-solver/.next/trace +0 -36
  336. package/packages/scrabble-solver/.next/trace-build +0 -1
  337. package/packages/scrabble-solver/.next/types/cache-life.d.ts +0 -114
  338. package/packages/scrabble-solver/.next/types/root-params.d.ts +0 -3
  339. package/packages/scrabble-solver/.next/types/routes.d.ts +0 -57
  340. package/packages/scrabble-solver/.next/types/validator.ts +0 -113
  341. package/packages/scrabble-solver/AGENTS.md +0 -9
  342. package/packages/scrabble-solver/CLAUDE.md +0 -1
  343. package/packages/scrabble-solver/README.md +0 -19
  344. package/packages/scrabble-solver/empty-module.js +0 -2
  345. package/packages/scrabble-solver/next-env.d.ts +0 -7
  346. package/packages/scrabble-solver/next.config.js +0 -55
  347. package/packages/scrabble-solver/package.json +0 -99
  348. package/packages/scrabble-solver/public/favicon.ico +0 -0
  349. package/packages/scrabble-solver/public/icons/apple-touch-icon-114x114.png +0 -0
  350. package/packages/scrabble-solver/public/icons/apple-touch-icon-120x120.png +0 -0
  351. package/packages/scrabble-solver/public/icons/apple-touch-icon-144x144.png +0 -0
  352. package/packages/scrabble-solver/public/icons/apple-touch-icon-152x152.png +0 -0
  353. package/packages/scrabble-solver/public/icons/apple-touch-icon-57x57.png +0 -0
  354. package/packages/scrabble-solver/public/icons/apple-touch-icon-60x60.png +0 -0
  355. package/packages/scrabble-solver/public/icons/apple-touch-icon-72x72.png +0 -0
  356. package/packages/scrabble-solver/public/icons/apple-touch-icon-76x76.png +0 -0
  357. package/packages/scrabble-solver/public/icons/favicon-128.png +0 -0
  358. package/packages/scrabble-solver/public/icons/favicon-16x16.png +0 -0
  359. package/packages/scrabble-solver/public/icons/favicon-196x196.png +0 -0
  360. package/packages/scrabble-solver/public/icons/favicon-32x32.png +0 -0
  361. package/packages/scrabble-solver/public/icons/favicon-96x96.png +0 -0
  362. package/packages/scrabble-solver/public/icons/favicon.svg +0 -6
  363. package/packages/scrabble-solver/public/icons/mstile-144x144.png +0 -0
  364. package/packages/scrabble-solver/public/icons/mstile-150x150.png +0 -0
  365. package/packages/scrabble-solver/public/icons/mstile-310x150.png +0 -0
  366. package/packages/scrabble-solver/public/icons/mstile-310x310.png +0 -0
  367. package/packages/scrabble-solver/public/icons/mstile-70x70.png +0 -0
  368. package/packages/scrabble-solver/public/llms.txt +0 -11
  369. package/packages/scrabble-solver/public/logo.svg +0 -62
  370. package/packages/scrabble-solver/public/og.png +0 -0
  371. package/packages/scrabble-solver/public/robots.txt +0 -5
  372. package/packages/scrabble-solver/public/service-worker.js +0 -2
  373. package/packages/scrabble-solver/public/service-worker.js.map +0 -1
  374. package/packages/scrabble-solver/public/site.webmanifest +0 -14
  375. package/packages/scrabble-solver/public/sitemap.xml +0 -1
  376. package/packages/scrabble-solver/scripts/generate-scss-types.ts +0 -112
  377. package/packages/scrabble-solver/src/@types/scss.d.ts +0 -6
  378. package/packages/scrabble-solver/src/@types/svg.d.ts +0 -7
  379. package/packages/scrabble-solver/src/api/BadRequestError.ts +0 -6
  380. package/packages/scrabble-solver/src/api/index.ts +0 -6
  381. package/packages/scrabble-solver/src/api/isBoardValid.ts +0 -41
  382. package/packages/scrabble-solver/src/api/isCellValid.ts +0 -25
  383. package/packages/scrabble-solver/src/api/isCharacterValid.ts +0 -12
  384. package/packages/scrabble-solver/src/api/isRowValid.ts +0 -17
  385. package/packages/scrabble-solver/src/api/withApiLog.ts +0 -85
  386. package/packages/scrabble-solver/src/components/Alert/Alert.module.scss +0 -52
  387. package/packages/scrabble-solver/src/components/Alert/Alert.module.scss.d.ts +0 -13
  388. package/packages/scrabble-solver/src/components/Alert/Alert.tsx +0 -44
  389. package/packages/scrabble-solver/src/components/Alert/index.ts +0 -1
  390. package/packages/scrabble-solver/src/components/Badge/Badge.module.scss +0 -12
  391. package/packages/scrabble-solver/src/components/Badge/Badge.module.scss.d.ts +0 -6
  392. package/packages/scrabble-solver/src/components/Badge/Badge.tsx +0 -13
  393. package/packages/scrabble-solver/src/components/Badge/index.ts +0 -1
  394. package/packages/scrabble-solver/src/components/Board/Board.module.scss +0 -83
  395. package/packages/scrabble-solver/src/components/Board/Board.module.scss.d.ts +0 -17
  396. package/packages/scrabble-solver/src/components/Board/Board.tsx +0 -221
  397. package/packages/scrabble-solver/src/components/Board/BoardPure.tsx +0 -166
  398. package/packages/scrabble-solver/src/components/Board/components/Actions/Actions.module.scss +0 -33
  399. package/packages/scrabble-solver/src/components/Board/components/Actions/Actions.module.scss.d.ts +0 -7
  400. package/packages/scrabble-solver/src/components/Board/components/Actions/Actions.tsx +0 -103
  401. package/packages/scrabble-solver/src/components/Board/components/Actions/index.ts +0 -1
  402. package/packages/scrabble-solver/src/components/Board/components/Actions/lib.ts +0 -32
  403. package/packages/scrabble-solver/src/components/Board/components/Cell/Cell.module.scss +0 -99
  404. package/packages/scrabble-solver/src/components/Board/components/Cell/Cell.module.scss.d.ts +0 -13
  405. package/packages/scrabble-solver/src/components/Board/components/Cell/Cell.tsx +0 -135
  406. package/packages/scrabble-solver/src/components/Board/components/Cell/index.ts +0 -1
  407. package/packages/scrabble-solver/src/components/Board/components/InputPrompt/InputPrompt.module.scss +0 -34
  408. package/packages/scrabble-solver/src/components/Board/components/InputPrompt/InputPrompt.module.scss.d.ts +0 -10
  409. package/packages/scrabble-solver/src/components/Board/components/InputPrompt/InputPrompt.tsx +0 -87
  410. package/packages/scrabble-solver/src/components/Board/components/InputPrompt/index.ts +0 -1
  411. package/packages/scrabble-solver/src/components/Board/components/ToggleDirectionButton/ToggleDirectionButton.module.scss +0 -21
  412. package/packages/scrabble-solver/src/components/Board/components/ToggleDirectionButton/ToggleDirectionButton.module.scss.d.ts +0 -8
  413. package/packages/scrabble-solver/src/components/Board/components/ToggleDirectionButton/ToggleDirectionButton.tsx +0 -41
  414. package/packages/scrabble-solver/src/components/Board/components/ToggleDirectionButton/index.ts +0 -1
  415. package/packages/scrabble-solver/src/components/Board/components/index.ts +0 -4
  416. package/packages/scrabble-solver/src/components/Board/getBoardBackground.ts +0 -175
  417. package/packages/scrabble-solver/src/components/Board/hooks/index.ts +0 -5
  418. package/packages/scrabble-solver/src/components/Board/hooks/useBoardStyle.ts +0 -24
  419. package/packages/scrabble-solver/src/components/Board/hooks/useFloatingActions.ts +0 -17
  420. package/packages/scrabble-solver/src/components/Board/hooks/useFloatingFocus.ts +0 -8
  421. package/packages/scrabble-solver/src/components/Board/hooks/useFloatingInputPrompt.ts +0 -17
  422. package/packages/scrabble-solver/src/components/Board/hooks/useGrid.ts +0 -390
  423. package/packages/scrabble-solver/src/components/Board/index.ts +0 -1
  424. package/packages/scrabble-solver/src/components/Board/lib.test.ts +0 -106
  425. package/packages/scrabble-solver/src/components/Board/lib.ts +0 -149
  426. package/packages/scrabble-solver/src/components/Board/selectors.ts +0 -39
  427. package/packages/scrabble-solver/src/components/Button/Button.module.scss +0 -96
  428. package/packages/scrabble-solver/src/components/Button/Button.module.scss.d.ts +0 -12
  429. package/packages/scrabble-solver/src/components/Button/Button.tsx +0 -50
  430. package/packages/scrabble-solver/src/components/Button/Link.tsx +0 -45
  431. package/packages/scrabble-solver/src/components/Button/index.ts +0 -1
  432. package/packages/scrabble-solver/src/components/Dictionary/Dictionary.module.scss +0 -65
  433. package/packages/scrabble-solver/src/components/Dictionary/Dictionary.module.scss.d.ts +0 -14
  434. package/packages/scrabble-solver/src/components/Dictionary/Dictionary.tsx +0 -78
  435. package/packages/scrabble-solver/src/components/Dictionary/index.ts +0 -1
  436. package/packages/scrabble-solver/src/components/DictionaryInput/DictionaryInput.module.scss +0 -12
  437. package/packages/scrabble-solver/src/components/DictionaryInput/DictionaryInput.module.scss.d.ts +0 -7
  438. package/packages/scrabble-solver/src/components/DictionaryInput/DictionaryInput.tsx +0 -45
  439. package/packages/scrabble-solver/src/components/DictionaryInput/index.ts +0 -1
  440. package/packages/scrabble-solver/src/components/EmptyState/EmptyState.module.scss +0 -14
  441. package/packages/scrabble-solver/src/components/EmptyState/EmptyState.module.scss.d.ts +0 -7
  442. package/packages/scrabble-solver/src/components/EmptyState/EmptyState.tsx +0 -55
  443. package/packages/scrabble-solver/src/components/EmptyState/index.ts +0 -1
  444. package/packages/scrabble-solver/src/components/IconButton/IconButton.module.scss +0 -39
  445. package/packages/scrabble-solver/src/components/IconButton/IconButton.module.scss.d.ts +0 -8
  446. package/packages/scrabble-solver/src/components/IconButton/IconButton.tsx +0 -31
  447. package/packages/scrabble-solver/src/components/IconButton/Link.tsx +0 -26
  448. package/packages/scrabble-solver/src/components/IconButton/index.ts +0 -1
  449. package/packages/scrabble-solver/src/components/Key/Key.module.scss +0 -29
  450. package/packages/scrabble-solver/src/components/Key/Key.module.scss.d.ts +0 -6
  451. package/packages/scrabble-solver/src/components/Key/Key.tsx +0 -13
  452. package/packages/scrabble-solver/src/components/Key/index.ts +0 -1
  453. package/packages/scrabble-solver/src/components/Keys/Arrows/Arrows.module.scss +0 -41
  454. package/packages/scrabble-solver/src/components/Keys/Arrows/Arrows.module.scss.d.ts +0 -11
  455. package/packages/scrabble-solver/src/components/Keys/Arrows/Arrows.tsx +0 -32
  456. package/packages/scrabble-solver/src/components/Keys/Arrows/index.ts +0 -1
  457. package/packages/scrabble-solver/src/components/Keys/index.tsx +0 -28
  458. package/packages/scrabble-solver/src/components/Loading/Loading.module.scss +0 -33
  459. package/packages/scrabble-solver/src/components/Loading/Loading.module.scss.d.ts +0 -9
  460. package/packages/scrabble-solver/src/components/Loading/Loading.tsx +0 -37
  461. package/packages/scrabble-solver/src/components/Loading/index.ts +0 -1
  462. package/packages/scrabble-solver/src/components/Logo/Logo.tsx +0 -12
  463. package/packages/scrabble-solver/src/components/Logo/LogoBlueprint.tsx +0 -22
  464. package/packages/scrabble-solver/src/components/Logo/index.ts +0 -1
  465. package/packages/scrabble-solver/src/components/Modal/Modal.module.scss +0 -119
  466. package/packages/scrabble-solver/src/components/Modal/Modal.module.scss.d.ts +0 -15
  467. package/packages/scrabble-solver/src/components/Modal/Modal.tsx +0 -105
  468. package/packages/scrabble-solver/src/components/Modal/components/Section/Section.module.scss +0 -11
  469. package/packages/scrabble-solver/src/components/Modal/components/Section/Section.module.scss.d.ts +0 -7
  470. package/packages/scrabble-solver/src/components/Modal/components/Section/Section.tsx +0 -18
  471. package/packages/scrabble-solver/src/components/Modal/components/Section/index.ts +0 -1
  472. package/packages/scrabble-solver/src/components/Modal/components/index.ts +0 -1
  473. package/packages/scrabble-solver/src/components/Modal/index.ts +0 -1
  474. package/packages/scrabble-solver/src/components/NavButtons/NavButtons.module.scss +0 -53
  475. package/packages/scrabble-solver/src/components/NavButtons/NavButtons.module.scss.d.ts +0 -13
  476. package/packages/scrabble-solver/src/components/NavButtons/NavButtons.tsx +0 -127
  477. package/packages/scrabble-solver/src/components/NavButtons/index.ts +0 -1
  478. package/packages/scrabble-solver/src/components/NavButtons/selectors.ts +0 -11
  479. package/packages/scrabble-solver/src/components/NotFound/NotFound.module.scss +0 -37
  480. package/packages/scrabble-solver/src/components/NotFound/NotFound.module.scss.d.ts +0 -9
  481. package/packages/scrabble-solver/src/components/NotFound/NotFound.tsx +0 -18
  482. package/packages/scrabble-solver/src/components/NotFound/index.ts +0 -1
  483. package/packages/scrabble-solver/src/components/PlainTiles/PlainTiles.module.scss +0 -24
  484. package/packages/scrabble-solver/src/components/PlainTiles/PlainTiles.module.scss.d.ts +0 -11
  485. package/packages/scrabble-solver/src/components/PlainTiles/PlainTiles.tsx +0 -53
  486. package/packages/scrabble-solver/src/components/PlainTiles/Tile.tsx +0 -41
  487. package/packages/scrabble-solver/src/components/PlainTiles/index.ts +0 -1
  488. package/packages/scrabble-solver/src/components/PlainTiles/lib.ts +0 -75
  489. package/packages/scrabble-solver/src/components/PlainTiles/types.ts +0 -22
  490. package/packages/scrabble-solver/src/components/Progress/Progress.module.scss +0 -16
  491. package/packages/scrabble-solver/src/components/Progress/Progress.module.scss.d.ts +0 -6
  492. package/packages/scrabble-solver/src/components/Progress/Progress.tsx +0 -32
  493. package/packages/scrabble-solver/src/components/Progress/index.ts +0 -1
  494. package/packages/scrabble-solver/src/components/Rack/Rack.module.scss +0 -95
  495. package/packages/scrabble-solver/src/components/Rack/Rack.module.scss.d.ts +0 -10
  496. package/packages/scrabble-solver/src/components/Rack/Rack.tsx +0 -199
  497. package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/InputPrompt.module.scss +0 -21
  498. package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/InputPrompt.module.scss.d.ts +0 -7
  499. package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/InputPrompt.tsx +0 -73
  500. package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/index.ts +0 -1
  501. package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/lib.test.ts +0 -27
  502. package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/lib.ts +0 -17
  503. package/packages/scrabble-solver/src/components/Rack/components/RackTile/RackTile.module.scss +0 -11
  504. package/packages/scrabble-solver/src/components/Rack/components/RackTile/RackTile.module.scss.d.ts +0 -6
  505. package/packages/scrabble-solver/src/components/Rack/components/RackTile/RackTile.tsx +0 -165
  506. package/packages/scrabble-solver/src/components/Rack/components/RackTile/index.ts +0 -1
  507. package/packages/scrabble-solver/src/components/Rack/components/index.ts +0 -2
  508. package/packages/scrabble-solver/src/components/Rack/index.ts +0 -1
  509. package/packages/scrabble-solver/src/components/Rack/selectors.ts +0 -9
  510. package/packages/scrabble-solver/src/components/Radio/Radio.module.scss +0 -61
  511. package/packages/scrabble-solver/src/components/Radio/Radio.module.scss.d.ts +0 -12
  512. package/packages/scrabble-solver/src/components/Radio/Radio.tsx +0 -39
  513. package/packages/scrabble-solver/src/components/Radio/index.ts +0 -1
  514. package/packages/scrabble-solver/src/components/Results/Header.tsx +0 -114
  515. package/packages/scrabble-solver/src/components/Results/Result.tsx +0 -101
  516. package/packages/scrabble-solver/src/components/Results/Results.module.scss +0 -76
  517. package/packages/scrabble-solver/src/components/Results/Results.module.scss.d.ts +0 -17
  518. package/packages/scrabble-solver/src/components/Results/Results.tsx +0 -166
  519. package/packages/scrabble-solver/src/components/Results/SolveButton.tsx +0 -45
  520. package/packages/scrabble-solver/src/components/Results/index.ts +0 -1
  521. package/packages/scrabble-solver/src/components/Results/types.ts +0 -15
  522. package/packages/scrabble-solver/src/components/Solver/Solver.module.scss +0 -116
  523. package/packages/scrabble-solver/src/components/Solver/Solver.module.scss.d.ts +0 -20
  524. package/packages/scrabble-solver/src/components/Solver/Solver.tsx +0 -143
  525. package/packages/scrabble-solver/src/components/Solver/components/InsertButton/InsertButton.module.scss +0 -15
  526. package/packages/scrabble-solver/src/components/Solver/components/InsertButton/InsertButton.module.scss.d.ts +0 -7
  527. package/packages/scrabble-solver/src/components/Solver/components/InsertButton/InsertButton.tsx +0 -40
  528. package/packages/scrabble-solver/src/components/Solver/components/InsertButton/index.ts +0 -1
  529. package/packages/scrabble-solver/src/components/Solver/components/ResultCandidatePicker/ResultCandidatePicker.module.scss +0 -138
  530. package/packages/scrabble-solver/src/components/Solver/components/ResultCandidatePicker/ResultCandidatePicker.module.scss.d.ts +0 -19
  531. package/packages/scrabble-solver/src/components/Solver/components/ResultCandidatePicker/ResultCandidatePicker.tsx +0 -105
  532. package/packages/scrabble-solver/src/components/Solver/components/ResultCandidatePicker/index.ts +0 -1
  533. package/packages/scrabble-solver/src/components/Solver/components/index.ts +0 -2
  534. package/packages/scrabble-solver/src/components/Solver/index.ts +0 -1
  535. package/packages/scrabble-solver/src/components/Spinner/Spinner.module.scss +0 -11
  536. package/packages/scrabble-solver/src/components/Spinner/Spinner.module.scss.d.ts +0 -10
  537. package/packages/scrabble-solver/src/components/Spinner/Spinner.tsx +0 -17
  538. package/packages/scrabble-solver/src/components/Spinner/index.ts +0 -1
  539. package/packages/scrabble-solver/src/components/Table/Cell.tsx +0 -42
  540. package/packages/scrabble-solver/src/components/Table/Header.tsx +0 -11
  541. package/packages/scrabble-solver/src/components/Table/HeaderButton.tsx +0 -61
  542. package/packages/scrabble-solver/src/components/Table/Row.tsx +0 -59
  543. package/packages/scrabble-solver/src/components/Table/Search.tsx +0 -43
  544. package/packages/scrabble-solver/src/components/Table/Table.module.scss +0 -147
  545. package/packages/scrabble-solver/src/components/Table/Table.module.scss.d.ts +0 -19
  546. package/packages/scrabble-solver/src/components/Table/index.ts +0 -5
  547. package/packages/scrabble-solver/src/components/Tile/Tile.module.scss +0 -129
  548. package/packages/scrabble-solver/src/components/Tile/Tile.module.scss.d.ts +0 -19
  549. package/packages/scrabble-solver/src/components/Tile/Tile.tsx +0 -101
  550. package/packages/scrabble-solver/src/components/Tile/TilePure.tsx +0 -106
  551. package/packages/scrabble-solver/src/components/Tile/index.ts +0 -1
  552. package/packages/scrabble-solver/src/components/Tooltip/Tooltip.module.scss +0 -15
  553. package/packages/scrabble-solver/src/components/Tooltip/Tooltip.module.scss.d.ts +0 -7
  554. package/packages/scrabble-solver/src/components/Tooltip/Tooltip.tsx +0 -42
  555. package/packages/scrabble-solver/src/components/Tooltip/TooltipContent.tsx +0 -53
  556. package/packages/scrabble-solver/src/components/Tooltip/TooltipTrigger.tsx +0 -30
  557. package/packages/scrabble-solver/src/components/Tooltip/context.ts +0 -17
  558. package/packages/scrabble-solver/src/components/Tooltip/index.ts +0 -1
  559. package/packages/scrabble-solver/src/components/Tooltip/useTooltip.ts +0 -55
  560. package/packages/scrabble-solver/src/hooks/useColumns.ts +0 -69
  561. package/packages/scrabble-solver/src/hooks/useDeferredRender.ts +0 -20
  562. package/packages/scrabble-solver/src/hooks/useDirection.ts +0 -21
  563. package/packages/scrabble-solver/src/hooks/useEffectOnce.ts +0 -11
  564. package/packages/scrabble-solver/src/hooks/useIsTouchDevice.ts +0 -5
  565. package/packages/scrabble-solver/src/hooks/useLanguage.ts +0 -20
  566. package/packages/scrabble-solver/src/hooks/useLatest.ts +0 -11
  567. package/packages/scrabble-solver/src/hooks/useLocalStorage.ts +0 -49
  568. package/packages/scrabble-solver/src/hooks/useMedia.ts +0 -34
  569. package/packages/scrabble-solver/src/hooks/useMediaQueries.ts +0 -11
  570. package/packages/scrabble-solver/src/hooks/useMediaQuery.ts +0 -10
  571. package/packages/scrabble-solver/src/i18n/constants.ts +0 -106
  572. package/packages/scrabble-solver/src/i18n/i18n.ts +0 -25
  573. package/packages/scrabble-solver/src/i18n/languages/english.json +0 -88
  574. package/packages/scrabble-solver/src/i18n/languages/french.json +0 -88
  575. package/packages/scrabble-solver/src/i18n/languages/german.json +0 -88
  576. package/packages/scrabble-solver/src/i18n/languages/persian.json +0 -88
  577. package/packages/scrabble-solver/src/i18n/languages/polish.json +0 -88
  578. package/packages/scrabble-solver/src/i18n/languages/romanian.json +0 -88
  579. package/packages/scrabble-solver/src/i18n/languages/spanish.json +0 -88
  580. package/packages/scrabble-solver/src/i18n/languages/turkish.json +0 -88
  581. package/packages/scrabble-solver/src/i18n/localeIcons.ts +0 -24
  582. package/packages/scrabble-solver/src/icons/ArrowDown.svg +0 -4
  583. package/packages/scrabble-solver/src/icons/ArrowLeft.svg +0 -4
  584. package/packages/scrabble-solver/src/icons/ArrowRight.svg +0 -4
  585. package/packages/scrabble-solver/src/icons/ArrowUp.svg +0 -4
  586. package/packages/scrabble-solver/src/icons/Ban.svg +0 -4
  587. package/packages/scrabble-solver/src/icons/BookHalf.svg +0 -4
  588. package/packages/scrabble-solver/src/icons/CardChecklist.svg +0 -5
  589. package/packages/scrabble-solver/src/icons/Check.svg +0 -4
  590. package/packages/scrabble-solver/src/icons/ChevronDown.svg +0 -4
  591. package/packages/scrabble-solver/src/icons/ChevronLeft.svg +0 -4
  592. package/packages/scrabble-solver/src/icons/ChevronRight.svg +0 -4
  593. package/packages/scrabble-solver/src/icons/Cog.svg +0 -4
  594. package/packages/scrabble-solver/src/icons/Cross.svg +0 -4
  595. package/packages/scrabble-solver/src/icons/CrossCircleFill.svg +0 -4
  596. package/packages/scrabble-solver/src/icons/CrossSquareFill.svg +0 -4
  597. package/packages/scrabble-solver/src/icons/DashCircleFill.svg +0 -4
  598. package/packages/scrabble-solver/src/icons/Eraser.svg +0 -4
  599. package/packages/scrabble-solver/src/icons/ExclamationSquareFill.svg +0 -4
  600. package/packages/scrabble-solver/src/icons/ExclamationTriangleFill.svg +0 -4
  601. package/packages/scrabble-solver/src/icons/EyeFill.svg +0 -5
  602. package/packages/scrabble-solver/src/icons/FlagDe.svg +0 -5
  603. package/packages/scrabble-solver/src/icons/FlagEs.svg +0 -4
  604. package/packages/scrabble-solver/src/icons/FlagFa.svg +0 -95
  605. package/packages/scrabble-solver/src/icons/FlagFill.svg +0 -4
  606. package/packages/scrabble-solver/src/icons/FlagFr.svg +0 -5
  607. package/packages/scrabble-solver/src/icons/FlagGb.svg +0 -10
  608. package/packages/scrabble-solver/src/icons/FlagPl.svg +0 -4
  609. package/packages/scrabble-solver/src/icons/FlagRo.svg +0 -5
  610. package/packages/scrabble-solver/src/icons/FlagTr.svg +0 -4
  611. package/packages/scrabble-solver/src/icons/FlagUs.svg +0 -33
  612. package/packages/scrabble-solver/src/icons/GeoAlt.svg +0 -5
  613. package/packages/scrabble-solver/src/icons/Github.svg +0 -4
  614. package/packages/scrabble-solver/src/icons/InfoCircleFill.svg +0 -4
  615. package/packages/scrabble-solver/src/icons/Keyboard.svg +0 -5
  616. package/packages/scrabble-solver/src/icons/KeyboardFill.svg +0 -4
  617. package/packages/scrabble-solver/src/icons/List.svg +0 -4
  618. package/packages/scrabble-solver/src/icons/OneTwoThree.svg +0 -4
  619. package/packages/scrabble-solver/src/icons/QuestionSquare.svg +0 -5
  620. package/packages/scrabble-solver/src/icons/Sack.svg +0 -4
  621. package/packages/scrabble-solver/src/icons/Search.svg +0 -4
  622. package/packages/scrabble-solver/src/icons/SortDown.svg +0 -4
  623. package/packages/scrabble-solver/src/icons/SortUp.svg +0 -4
  624. package/packages/scrabble-solver/src/icons/Square.svg +0 -4
  625. package/packages/scrabble-solver/src/icons/SquareA.svg +0 -6
  626. package/packages/scrabble-solver/src/icons/SquareB.svg +0 -6
  627. package/packages/scrabble-solver/src/icons/SquareFill.svg +0 -4
  628. package/packages/scrabble-solver/src/icons/Squares.svg +0 -34
  629. package/packages/scrabble-solver/src/icons/Words.svg +0 -22
  630. package/packages/scrabble-solver/src/lib/arrayEquals.ts +0 -3
  631. package/packages/scrabble-solver/src/lib/createComparator.ts +0 -20
  632. package/packages/scrabble-solver/src/lib/createCoordinatesComparator.ts +0 -23
  633. package/packages/scrabble-solver/src/lib/createHighlightWords.test.ts +0 -13
  634. package/packages/scrabble-solver/src/lib/createHighlightWords.ts +0 -9
  635. package/packages/scrabble-solver/src/lib/createKeyComparator.ts +0 -23
  636. package/packages/scrabble-solver/src/lib/createKeyboardNavigation.ts +0 -46
  637. package/packages/scrabble-solver/src/lib/createNullMovingComparator.test.ts +0 -15
  638. package/packages/scrabble-solver/src/lib/createNullMovingComparator.ts +0 -17
  639. package/packages/scrabble-solver/src/lib/createRegExp.ts +0 -11
  640. package/packages/scrabble-solver/src/lib/createSortComparator.ts +0 -22
  641. package/packages/scrabble-solver/src/lib/createStringComparator.ts +0 -7
  642. package/packages/scrabble-solver/src/lib/extractCharacters.test.ts +0 -52
  643. package/packages/scrabble-solver/src/lib/extractCharacters.ts +0 -42
  644. package/packages/scrabble-solver/src/lib/extractInputValue.ts +0 -15
  645. package/packages/scrabble-solver/src/lib/findCell.ts +0 -5
  646. package/packages/scrabble-solver/src/lib/getCoordinate.test.ts +0 -22
  647. package/packages/scrabble-solver/src/lib/getCoordinate.ts +0 -17
  648. package/packages/scrabble-solver/src/lib/getCoordinates.test.ts +0 -21
  649. package/packages/scrabble-solver/src/lib/getCoordinates.ts +0 -16
  650. package/packages/scrabble-solver/src/lib/getNextSort.ts +0 -12
  651. package/packages/scrabble-solver/src/lib/inverseDirection.ts +0 -3
  652. package/packages/scrabble-solver/src/lib/isCtrl.ts +0 -5
  653. package/packages/scrabble-solver/src/lib/isMac.ts +0 -7
  654. package/packages/scrabble-solver/src/lib/isRegExp.ts +0 -9
  655. package/packages/scrabble-solver/src/lib/isStringArray.ts +0 -3
  656. package/packages/scrabble-solver/src/lib/localeTransliterate.test.ts +0 -19
  657. package/packages/scrabble-solver/src/lib/localeTransliterate.ts +0 -38
  658. package/packages/scrabble-solver/src/lib/memoize.ts +0 -64
  659. package/packages/scrabble-solver/src/lib/noop.ts +0 -1
  660. package/packages/scrabble-solver/src/lib/numberComparator.ts +0 -3
  661. package/packages/scrabble-solver/src/lib/reverseComparator.ts +0 -5
  662. package/packages/scrabble-solver/src/lib/unorderedArraysEqual.ts +0 -12
  663. package/packages/scrabble-solver/src/lib/waitForIdleOrFirstIntent.ts +0 -44
  664. package/packages/scrabble-solver/src/lib/zipCharactersAndTiles.ts +0 -28
  665. package/packages/scrabble-solver/src/modals/DictionaryModal/DictionaryModal.module.scss +0 -22
  666. package/packages/scrabble-solver/src/modals/DictionaryModal/DictionaryModal.module.scss.d.ts +0 -8
  667. package/packages/scrabble-solver/src/modals/DictionaryModal/DictionaryModal.tsx +0 -29
  668. package/packages/scrabble-solver/src/modals/DictionaryModal/index.ts +0 -1
  669. package/packages/scrabble-solver/src/modals/KeyMapModal/KeyMapModal.tsx +0 -65
  670. package/packages/scrabble-solver/src/modals/KeyMapModal/components/Mapping/Mapping.module.scss +0 -48
  671. package/packages/scrabble-solver/src/modals/KeyMapModal/components/Mapping/Mapping.module.scss.d.ts +0 -11
  672. package/packages/scrabble-solver/src/modals/KeyMapModal/components/Mapping/Mapping.tsx +0 -36
  673. package/packages/scrabble-solver/src/modals/KeyMapModal/components/Mapping/index.ts +0 -1
  674. package/packages/scrabble-solver/src/modals/KeyMapModal/components/index.ts +0 -1
  675. package/packages/scrabble-solver/src/modals/KeyMapModal/index.ts +0 -1
  676. package/packages/scrabble-solver/src/modals/MenuModal/MenuModal.module.scss +0 -48
  677. package/packages/scrabble-solver/src/modals/MenuModal/MenuModal.module.scss.d.ts +0 -10
  678. package/packages/scrabble-solver/src/modals/MenuModal/MenuModal.tsx +0 -93
  679. package/packages/scrabble-solver/src/modals/MenuModal/index.ts +0 -1
  680. package/packages/scrabble-solver/src/modals/RemainingTilesModal/RemainingTilesModal.module.scss +0 -25
  681. package/packages/scrabble-solver/src/modals/RemainingTilesModal/RemainingTilesModal.module.scss.d.ts +0 -9
  682. package/packages/scrabble-solver/src/modals/RemainingTilesModal/RemainingTilesModal.tsx +0 -61
  683. package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/Character/Character.module.scss +0 -50
  684. package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/Character/Character.module.scss.d.ts +0 -12
  685. package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/Character/Character.tsx +0 -89
  686. package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/Character/index.ts +0 -1
  687. package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/index.ts +0 -1
  688. package/packages/scrabble-solver/src/modals/RemainingTilesModal/index.ts +0 -1
  689. package/packages/scrabble-solver/src/modals/RemainingTilesModal/lib.ts +0 -81
  690. package/packages/scrabble-solver/src/modals/RemainingTilesModal/selectors.ts +0 -7
  691. package/packages/scrabble-solver/src/modals/ResultsModal/ResultsModal.module.scss +0 -20
  692. package/packages/scrabble-solver/src/modals/ResultsModal/ResultsModal.module.scss.d.ts +0 -8
  693. package/packages/scrabble-solver/src/modals/ResultsModal/ResultsModal.tsx +0 -107
  694. package/packages/scrabble-solver/src/modals/ResultsModal/index.ts +0 -1
  695. package/packages/scrabble-solver/src/modals/SettingsModal/SettingsModal.tsx +0 -65
  696. package/packages/scrabble-solver/src/modals/SettingsModal/components/AutoGroupTilesSetting/AutoGroupTilesSetting.module.scss +0 -12
  697. package/packages/scrabble-solver/src/modals/SettingsModal/components/AutoGroupTilesSetting/AutoGroupTilesSetting.module.scss.d.ts +0 -7
  698. package/packages/scrabble-solver/src/modals/SettingsModal/components/AutoGroupTilesSetting/AutoGroupTilesSetting.tsx +0 -58
  699. package/packages/scrabble-solver/src/modals/SettingsModal/components/AutoGroupTilesSetting/constants.ts +0 -1
  700. package/packages/scrabble-solver/src/modals/SettingsModal/components/AutoGroupTilesSetting/index.ts +0 -1
  701. package/packages/scrabble-solver/src/modals/SettingsModal/components/AutoGroupTilesSetting/lib.ts +0 -15
  702. package/packages/scrabble-solver/src/modals/SettingsModal/components/ConfigSetting/ConfigSetting.module.scss +0 -12
  703. package/packages/scrabble-solver/src/modals/SettingsModal/components/ConfigSetting/ConfigSetting.module.scss.d.ts +0 -7
  704. package/packages/scrabble-solver/src/modals/SettingsModal/components/ConfigSetting/ConfigSetting.tsx +0 -45
  705. package/packages/scrabble-solver/src/modals/SettingsModal/components/ConfigSetting/index.ts +0 -1
  706. package/packages/scrabble-solver/src/modals/SettingsModal/components/ConfigSetting/lib.ts +0 -19
  707. package/packages/scrabble-solver/src/modals/SettingsModal/components/HighlightUnreachableCellsSetting/HighlightUnreachableCellsSetting.module.scss +0 -12
  708. package/packages/scrabble-solver/src/modals/SettingsModal/components/HighlightUnreachableCellsSetting/HighlightUnreachableCellsSetting.module.scss.d.ts +0 -7
  709. package/packages/scrabble-solver/src/modals/SettingsModal/components/HighlightUnreachableCellsSetting/HighlightUnreachableCellsSetting.tsx +0 -51
  710. package/packages/scrabble-solver/src/modals/SettingsModal/components/HighlightUnreachableCellsSetting/index.ts +0 -1
  711. package/packages/scrabble-solver/src/modals/SettingsModal/components/InputModeSetting/InputModeSetting.module.scss +0 -12
  712. package/packages/scrabble-solver/src/modals/SettingsModal/components/InputModeSetting/InputModeSetting.module.scss.d.ts +0 -7
  713. package/packages/scrabble-solver/src/modals/SettingsModal/components/InputModeSetting/InputModeSetting.tsx +0 -53
  714. package/packages/scrabble-solver/src/modals/SettingsModal/components/InputModeSetting/index.ts +0 -1
  715. package/packages/scrabble-solver/src/modals/SettingsModal/components/InputModeSetting/lib.ts +0 -13
  716. package/packages/scrabble-solver/src/modals/SettingsModal/components/LocaleSetting/LocaleSetting.module.scss +0 -20
  717. package/packages/scrabble-solver/src/modals/SettingsModal/components/LocaleSetting/LocaleSetting.module.scss.d.ts +0 -8
  718. package/packages/scrabble-solver/src/modals/SettingsModal/components/LocaleSetting/LocaleSetting.tsx +0 -54
  719. package/packages/scrabble-solver/src/modals/SettingsModal/components/LocaleSetting/index.ts +0 -1
  720. package/packages/scrabble-solver/src/modals/SettingsModal/components/RemoveCellFiltersSetting/RemoveCellFiltersSetting.module.scss +0 -12
  721. package/packages/scrabble-solver/src/modals/SettingsModal/components/RemoveCellFiltersSetting/RemoveCellFiltersSetting.module.scss.d.ts +0 -7
  722. package/packages/scrabble-solver/src/modals/SettingsModal/components/RemoveCellFiltersSetting/RemoveCellFiltersSetting.tsx +0 -53
  723. package/packages/scrabble-solver/src/modals/SettingsModal/components/RemoveCellFiltersSetting/index.ts +0 -1
  724. package/packages/scrabble-solver/src/modals/SettingsModal/components/RemoveCellFiltersSetting/lib.ts +0 -13
  725. package/packages/scrabble-solver/src/modals/SettingsModal/components/ShowCoordinatesSetting/ShowCoordinatesSetting.module.scss +0 -12
  726. package/packages/scrabble-solver/src/modals/SettingsModal/components/ShowCoordinatesSetting/ShowCoordinatesSetting.module.scss.d.ts +0 -7
  727. package/packages/scrabble-solver/src/modals/SettingsModal/components/ShowCoordinatesSetting/ShowCoordinatesSetting.tsx +0 -53
  728. package/packages/scrabble-solver/src/modals/SettingsModal/components/ShowCoordinatesSetting/index.ts +0 -1
  729. package/packages/scrabble-solver/src/modals/SettingsModal/components/index.ts +0 -7
  730. package/packages/scrabble-solver/src/modals/SettingsModal/index.ts +0 -1
  731. package/packages/scrabble-solver/src/modals/WordsModal/WordsModal.module.scss +0 -24
  732. package/packages/scrabble-solver/src/modals/WordsModal/WordsModal.module.scss.d.ts +0 -8
  733. package/packages/scrabble-solver/src/modals/WordsModal/WordsModal.tsx +0 -75
  734. package/packages/scrabble-solver/src/modals/WordsModal/components/WordsTable/WordRow.tsx +0 -97
  735. package/packages/scrabble-solver/src/modals/WordsModal/components/WordsTable/WordsTable.module.scss +0 -69
  736. package/packages/scrabble-solver/src/modals/WordsModal/components/WordsTable/WordsTable.module.scss.d.ts +0 -16
  737. package/packages/scrabble-solver/src/modals/WordsModal/components/WordsTable/WordsTable.tsx +0 -137
  738. package/packages/scrabble-solver/src/modals/WordsModal/components/WordsTable/index.ts +0 -1
  739. package/packages/scrabble-solver/src/modals/WordsModal/components/index.ts +0 -1
  740. package/packages/scrabble-solver/src/modals/WordsModal/index.ts +0 -1
  741. package/packages/scrabble-solver/src/modals/preload.ts +0 -24
  742. package/packages/scrabble-solver/src/pages/_app.tsx +0 -52
  743. package/packages/scrabble-solver/src/pages/_document.tsx +0 -129
  744. package/packages/scrabble-solver/src/pages/api/dictionary/[locale]/[word].ts +0 -66
  745. package/packages/scrabble-solver/src/pages/api/dictionary/[locale]/index.ts +0 -123
  746. package/packages/scrabble-solver/src/pages/api/solve.ts +0 -103
  747. package/packages/scrabble-solver/src/pages/api/verify.ts +0 -78
  748. package/packages/scrabble-solver/src/pages/api/visit.ts +0 -44
  749. package/packages/scrabble-solver/src/pages/index.module.scss +0 -31
  750. package/packages/scrabble-solver/src/pages/index.module.scss.d.ts +0 -11
  751. package/packages/scrabble-solver/src/pages/index.tsx +0 -274
  752. package/packages/scrabble-solver/src/pages/not-found.tsx +0 -16
  753. package/packages/scrabble-solver/src/parameters/index.ts +0 -81
  754. package/packages/scrabble-solver/src/sdk/fetch.ts +0 -28
  755. package/packages/scrabble-solver/src/sdk/fetchJson.ts +0 -9
  756. package/packages/scrabble-solver/src/sdk/findWordDefinitions.ts +0 -8
  757. package/packages/scrabble-solver/src/sdk/index.ts +0 -4
  758. package/packages/scrabble-solver/src/sdk/solve.ts +0 -19
  759. package/packages/scrabble-solver/src/sdk/verify.ts +0 -20
  760. package/packages/scrabble-solver/src/sdk/visit.ts +0 -10
  761. package/packages/scrabble-solver/src/service-worker/appShell.test.ts +0 -86
  762. package/packages/scrabble-solver/src/service-worker/appShell.ts +0 -39
  763. package/packages/scrabble-solver/src/service-worker/index.ts +0 -22
  764. package/packages/scrabble-solver/src/serviceWorkerManager.ts +0 -12
  765. package/packages/scrabble-solver/src/solver-worker/client.test.ts +0 -158
  766. package/packages/scrabble-solver/src/solver-worker/client.ts +0 -106
  767. package/packages/scrabble-solver/src/solver-worker/dictionaries/constants.ts +0 -9
  768. package/packages/scrabble-solver/src/solver-worker/dictionaries/expirationManager.ts +0 -7
  769. package/packages/scrabble-solver/src/solver-worker/dictionaries/getDictionary.ts +0 -21
  770. package/packages/scrabble-solver/src/solver-worker/dictionaries/getDictionaryUrl.ts +0 -5
  771. package/packages/scrabble-solver/src/solver-worker/dictionaries/index.ts +0 -2
  772. package/packages/scrabble-solver/src/solver-worker/dictionaries/revalidateDictionary.test.ts +0 -199
  773. package/packages/scrabble-solver/src/solver-worker/dictionaries/revalidateDictionary.ts +0 -86
  774. package/packages/scrabble-solver/src/solver-worker/dictionaries/revalidatedAt.ts +0 -43
  775. package/packages/scrabble-solver/src/solver-worker/getGaddag.test.ts +0 -109
  776. package/packages/scrabble-solver/src/solver-worker/getGaddag.ts +0 -62
  777. package/packages/scrabble-solver/src/solver-worker/index.ts +0 -1
  778. package/packages/scrabble-solver/src/solver-worker/index.worker.ts +0 -124
  779. package/packages/scrabble-solver/src/solver-worker/messages.ts +0 -20
  780. package/packages/scrabble-solver/src/state/actions.ts +0 -5
  781. package/packages/scrabble-solver/src/state/app/index.ts +0 -4
  782. package/packages/scrabble-solver/src/state/app/initialState.ts +0 -6
  783. package/packages/scrabble-solver/src/state/app/selectors.ts +0 -5
  784. package/packages/scrabble-solver/src/state/app/slice.ts +0 -20
  785. package/packages/scrabble-solver/src/state/app/types.ts +0 -4
  786. package/packages/scrabble-solver/src/state/board/index.ts +0 -4
  787. package/packages/scrabble-solver/src/state/board/initialState.ts +0 -38
  788. package/packages/scrabble-solver/src/state/board/selectors.ts +0 -3
  789. package/packages/scrabble-solver/src/state/board/slice.ts +0 -101
  790. package/packages/scrabble-solver/src/state/board/types.ts +0 -3
  791. package/packages/scrabble-solver/src/state/cellFilters/index.ts +0 -4
  792. package/packages/scrabble-solver/src/state/cellFilters/initialState.ts +0 -3
  793. package/packages/scrabble-solver/src/state/cellFilters/lib.ts +0 -8
  794. package/packages/scrabble-solver/src/state/cellFilters/selectors.ts +0 -13
  795. package/packages/scrabble-solver/src/state/cellFilters/slice.ts +0 -49
  796. package/packages/scrabble-solver/src/state/cellFilters/types.ts +0 -3
  797. package/packages/scrabble-solver/src/state/dictionary/index.ts +0 -4
  798. package/packages/scrabble-solver/src/state/dictionary/initialState.ts +0 -8
  799. package/packages/scrabble-solver/src/state/dictionary/selectors.ts +0 -16
  800. package/packages/scrabble-solver/src/state/dictionary/slice.ts +0 -34
  801. package/packages/scrabble-solver/src/state/dictionary/types.ts +0 -8
  802. package/packages/scrabble-solver/src/state/hoveredTile/index.ts +0 -4
  803. package/packages/scrabble-solver/src/state/hoveredTile/initialState.ts +0 -5
  804. package/packages/scrabble-solver/src/state/hoveredTile/selectors.ts +0 -3
  805. package/packages/scrabble-solver/src/state/hoveredTile/slice.ts +0 -16
  806. package/packages/scrabble-solver/src/state/hoveredTile/types.ts +0 -3
  807. package/packages/scrabble-solver/src/state/hoveredWord/index.ts +0 -4
  808. package/packages/scrabble-solver/src/state/hoveredWord/initialState.ts +0 -5
  809. package/packages/scrabble-solver/src/state/hoveredWord/selectors.ts +0 -5
  810. package/packages/scrabble-solver/src/state/hoveredWord/slice.ts +0 -18
  811. package/packages/scrabble-solver/src/state/hoveredWord/types.ts +0 -5
  812. package/packages/scrabble-solver/src/state/i18n/index.ts +0 -4
  813. package/packages/scrabble-solver/src/state/i18n/initialState.ts +0 -5
  814. package/packages/scrabble-solver/src/state/i18n/selectors.ts +0 -3
  815. package/packages/scrabble-solver/src/state/i18n/slice.ts +0 -16
  816. package/packages/scrabble-solver/src/state/i18n/types.ts +0 -7
  817. package/packages/scrabble-solver/src/state/index.ts +0 -19
  818. package/packages/scrabble-solver/src/state/lib.ts +0 -46
  819. package/packages/scrabble-solver/src/state/localStorage.ts +0 -142
  820. package/packages/scrabble-solver/src/state/rack/index.ts +0 -4
  821. package/packages/scrabble-solver/src/state/rack/initialState.ts +0 -11
  822. package/packages/scrabble-solver/src/state/rack/selectors.ts +0 -7
  823. package/packages/scrabble-solver/src/state/rack/slice.ts +0 -56
  824. package/packages/scrabble-solver/src/state/rack/types.ts +0 -3
  825. package/packages/scrabble-solver/src/state/results/index.ts +0 -4
  826. package/packages/scrabble-solver/src/state/results/initialState.ts +0 -13
  827. package/packages/scrabble-solver/src/state/results/lib.ts +0 -86
  828. package/packages/scrabble-solver/src/state/results/selectors.ts +0 -83
  829. package/packages/scrabble-solver/src/state/results/slice.ts +0 -43
  830. package/packages/scrabble-solver/src/state/results/types.ts +0 -10
  831. package/packages/scrabble-solver/src/state/sagas.ts +0 -395
  832. package/packages/scrabble-solver/src/state/selectors.ts +0 -52
  833. package/packages/scrabble-solver/src/state/settings/index.ts +0 -4
  834. package/packages/scrabble-solver/src/state/settings/initialState.ts +0 -16
  835. package/packages/scrabble-solver/src/state/settings/lib.ts +0 -42
  836. package/packages/scrabble-solver/src/state/settings/selectors.ts +0 -78
  837. package/packages/scrabble-solver/src/state/settings/slice.ts +0 -54
  838. package/packages/scrabble-solver/src/state/settings/types.ts +0 -13
  839. package/packages/scrabble-solver/src/state/solve/index.ts +0 -4
  840. package/packages/scrabble-solver/src/state/solve/initialState.ts +0 -12
  841. package/packages/scrabble-solver/src/state/solve/selectors.ts +0 -14
  842. package/packages/scrabble-solver/src/state/solve/slice.ts +0 -33
  843. package/packages/scrabble-solver/src/state/solve/types.ts +0 -10
  844. package/packages/scrabble-solver/src/state/store.ts +0 -38
  845. package/packages/scrabble-solver/src/state/types.ts +0 -27
  846. package/packages/scrabble-solver/src/state/useTranslate.ts +0 -32
  847. package/packages/scrabble-solver/src/state/useTypedSelector.ts +0 -5
  848. package/packages/scrabble-solver/src/state/useTypedStore.ts +0 -6
  849. package/packages/scrabble-solver/src/state/verify/index.ts +0 -4
  850. package/packages/scrabble-solver/src/state/verify/initialState.ts +0 -19
  851. package/packages/scrabble-solver/src/state/verify/lib.test.ts +0 -55
  852. package/packages/scrabble-solver/src/state/verify/lib.ts +0 -49
  853. package/packages/scrabble-solver/src/state/verify/selectors.ts +0 -46
  854. package/packages/scrabble-solver/src/state/verify/slice.ts +0 -40
  855. package/packages/scrabble-solver/src/state/verify/types.ts +0 -14
  856. package/packages/scrabble-solver/src/styles/_tokens.scss +0 -60
  857. package/packages/scrabble-solver/src/styles/animations.scss +0 -49
  858. package/packages/scrabble-solver/src/styles/global.scss +0 -61
  859. package/packages/scrabble-solver/src/styles/mixins.scss +0 -117
  860. package/packages/scrabble-solver/src/styles/variables.module.scss +0 -32
  861. package/packages/scrabble-solver/src/styles/variables.module.scss.d.ts +0 -27
  862. package/packages/scrabble-solver/src/styles/variables.scss +0 -176
  863. package/packages/scrabble-solver/src/types/api.ts +0 -21
  864. package/packages/scrabble-solver/src/types/index.ts +0 -177
  865. package/packages/scrabble-solver/tsconfig.json +0 -27
  866. package/packages/scrabble-solver/tsconfig.tsbuildinfo +0 -1
  867. package/packages/solver/README.md +0 -29
  868. package/packages/solver/benchmarks/index.ts +0 -15
  869. package/packages/solver/benchmarks/lib.ts +0 -31
  870. package/packages/solver/benchmarks/renderChart.ts +0 -165
  871. package/packages/solver/benchmarks/results/chart.svg +0 -65
  872. package/packages/solver/benchmarks/runBenchmarks.ts +0 -66
  873. package/packages/solver/benchmarks/scenarios.ts +0 -64
  874. package/packages/solver/benchmarks/types.ts +0 -16
  875. package/packages/solver/benchmarks/updateReadme.ts +0 -53
  876. package/packages/solver/build/MoveGenerator.d.ts +0 -116
  877. package/packages/solver/build/MoveGenerator.js +0 -686
  878. package/packages/solver/build/index.d.ts +0 -1
  879. package/packages/solver/build/index.js +0 -5
  880. package/packages/solver/build/solve.d.ts +0 -3
  881. package/packages/solver/build/solve.js +0 -8
  882. package/packages/solver/package.json +0 -45
  883. package/packages/solver/src/MoveGenerator.test.ts +0 -1009
  884. package/packages/solver/src/MoveGenerator.ts +0 -926
  885. package/packages/solver/src/ReferenceSolver.ts +0 -401
  886. package/packages/solver/src/index.ts +0 -1
  887. package/packages/solver/src/solve.test.ts +0 -225
  888. package/packages/solver/src/solve.ts +0 -8
  889. package/packages/solver/tsconfig.json +0 -10
  890. package/packages/types/README.md +0 -3
  891. package/packages/types/build/Bingo.d.ts +0 -7
  892. package/packages/types/build/Bingo.js +0 -2
  893. package/packages/types/build/Board.d.ts +0 -33
  894. package/packages/types/build/Board.js +0 -106
  895. package/packages/types/build/BoardJson.d.ts +0 -2
  896. package/packages/types/build/BoardJson.js +0 -2
  897. package/packages/types/build/BoardWord.d.ts +0 -7
  898. package/packages/types/build/BoardWord.js +0 -2
  899. package/packages/types/build/Bonus.d.ts +0 -22
  900. package/packages/types/build/Bonus.js +0 -33
  901. package/packages/types/build/BonusJson.d.ts +0 -7
  902. package/packages/types/build/BonusJson.js +0 -2
  903. package/packages/types/build/BonusValue.d.ts +0 -4
  904. package/packages/types/build/BonusValue.js +0 -2
  905. package/packages/types/build/Cell.d.ts +0 -22
  906. package/packages/types/build/Cell.js +0 -52
  907. package/packages/types/build/CellJson.d.ts +0 -7
  908. package/packages/types/build/CellJson.js +0 -2
  909. package/packages/types/build/CharacterBonus.d.ts +0 -10
  910. package/packages/types/build/CharacterBonus.js +0 -27
  911. package/packages/types/build/Collision.d.ts +0 -2
  912. package/packages/types/build/Collision.js +0 -2
  913. package/packages/types/build/Config.d.ts +0 -36
  914. package/packages/types/build/Config.js +0 -105
  915. package/packages/types/build/ConfigJson.d.ts +0 -18
  916. package/packages/types/build/ConfigJson.js +0 -2
  917. package/packages/types/build/Dictionary.d.ts +0 -6
  918. package/packages/types/build/Dictionary.js +0 -2
  919. package/packages/types/build/Direction.d.ts +0 -1
  920. package/packages/types/build/Direction.js +0 -2
  921. package/packages/types/build/Game.d.ts +0 -11
  922. package/packages/types/build/Game.js +0 -15
  923. package/packages/types/build/Locale.d.ts +0 -16
  924. package/packages/types/build/Locale.js +0 -20
  925. package/packages/types/build/Result.d.ts +0 -32
  926. package/packages/types/build/Result.js +0 -61
  927. package/packages/types/build/ResultJson.d.ts +0 -9
  928. package/packages/types/build/ResultJson.js +0 -2
  929. package/packages/types/build/ShowCoordinates.d.ts +0 -5
  930. package/packages/types/build/ShowCoordinates.js +0 -2
  931. package/packages/types/build/TextDirection.d.ts +0 -1
  932. package/packages/types/build/TextDirection.js +0 -2
  933. package/packages/types/build/Tile.d.ts +0 -15
  934. package/packages/types/build/Tile.js +0 -46
  935. package/packages/types/build/TileConfig.d.ts +0 -5
  936. package/packages/types/build/TileConfig.js +0 -2
  937. package/packages/types/build/TileJson.d.ts +0 -4
  938. package/packages/types/build/TileJson.js +0 -2
  939. package/packages/types/build/WordBonus.d.ts +0 -6
  940. package/packages/types/build/WordBonus.js +0 -18
  941. package/packages/types/build/WordDefinition.d.ts +0 -17
  942. package/packages/types/build/WordDefinition.js +0 -38
  943. package/packages/types/build/WordDefinitionJson.d.ts +0 -12
  944. package/packages/types/build/WordDefinitionJson.js +0 -2
  945. package/packages/types/build/index.d.ts +0 -29
  946. package/packages/types/build/index.js +0 -38
  947. package/packages/types/build/lib/getBoardWords.d.ts +0 -3
  948. package/packages/types/build/lib/getBoardWords.js +0 -10
  949. package/packages/types/build/lib/getCells.d.ts +0 -4
  950. package/packages/types/build/lib/getCells.js +0 -27
  951. package/packages/types/build/lib/getCollidingWords.d.ts +0 -3
  952. package/packages/types/build/lib/getCollidingWords.js +0 -19
  953. package/packages/types/build/lib/getCollision.d.ts +0 -3
  954. package/packages/types/build/lib/getCollision.js +0 -31
  955. package/packages/types/build/lib/getCollisions.d.ts +0 -3
  956. package/packages/types/build/lib/getCollisions.js +0 -17
  957. package/packages/types/build/lib/getPlacedCell.d.ts +0 -3
  958. package/packages/types/build/lib/getPlacedCell.js +0 -10
  959. package/packages/types/build/lib/getWordThrough.d.ts +0 -4
  960. package/packages/types/build/lib/getWordThrough.js +0 -23
  961. package/packages/types/build/lib/getWordsInRows.d.ts +0 -8
  962. package/packages/types/build/lib/getWordsInRows.js +0 -29
  963. package/packages/types/build/lib/index.d.ts +0 -5
  964. package/packages/types/build/lib/index.js +0 -21
  965. package/packages/types/build/lib/isSameBoardWord.d.ts +0 -2
  966. package/packages/types/build/lib/isSameBoardWord.js +0 -6
  967. package/packages/types/build/lib/toBoardWord.d.ts +0 -4
  968. package/packages/types/build/lib/toBoardWord.js +0 -11
  969. package/packages/types/build/lib/transpose.d.ts +0 -1
  970. package/packages/types/build/lib/transpose.js +0 -16
  971. package/packages/types/build/type-guards/index.d.ts +0 -10
  972. package/packages/types/build/type-guards/index.js +0 -23
  973. package/packages/types/build/type-guards/isBingo.d.ts +0 -2
  974. package/packages/types/build/type-guards/isBingo.js +0 -9
  975. package/packages/types/build/type-guards/isBoardJson.d.ts +0 -2
  976. package/packages/types/build/type-guards/isBoardJson.js +0 -21
  977. package/packages/types/build/type-guards/isCellJson.d.ts +0 -2
  978. package/packages/types/build/type-guards/isCellJson.js +0 -13
  979. package/packages/types/build/type-guards/isError.d.ts +0 -1
  980. package/packages/types/build/type-guards/isError.js +0 -11
  981. package/packages/types/build/type-guards/isGame.d.ts +0 -2
  982. package/packages/types/build/type-guards/isGame.js +0 -7
  983. package/packages/types/build/type-guards/isLocale.d.ts +0 -2
  984. package/packages/types/build/type-guards/isLocale.js +0 -7
  985. package/packages/types/build/type-guards/isMultiplierBingo.d.ts +0 -2
  986. package/packages/types/build/type-guards/isMultiplierBingo.js +0 -8
  987. package/packages/types/build/type-guards/isObject.d.ts +0 -1
  988. package/packages/types/build/type-guards/isObject.js +0 -7
  989. package/packages/types/build/type-guards/isScoreBingo.d.ts +0 -2
  990. package/packages/types/build/type-guards/isScoreBingo.js +0 -8
  991. package/packages/types/build/type-guards/isTileJson.d.ts +0 -2
  992. package/packages/types/build/type-guards/isTileJson.js +0 -8
  993. package/packages/types/package.json +0 -37
  994. package/packages/types/src/Bingo.ts +0 -5
  995. package/packages/types/src/Board.test.ts +0 -85
  996. package/packages/types/src/Board.ts +0 -141
  997. package/packages/types/src/BoardJson.ts +0 -3
  998. package/packages/types/src/BoardWord.ts +0 -8
  999. package/packages/types/src/Bonus.ts +0 -50
  1000. package/packages/types/src/BonusJson.ts +0 -7
  1001. package/packages/types/src/BonusValue.ts +0 -4
  1002. package/packages/types/src/Cell.ts +0 -66
  1003. package/packages/types/src/CellJson.ts +0 -8
  1004. package/packages/types/src/CharacterBonus.ts +0 -29
  1005. package/packages/types/src/Collision.ts +0 -3
  1006. package/packages/types/src/Config.ts +0 -152
  1007. package/packages/types/src/ConfigJson.ts +0 -19
  1008. package/packages/types/src/Dictionary.ts +0 -7
  1009. package/packages/types/src/Direction.ts +0 -1
  1010. package/packages/types/src/Game.ts +0 -11
  1011. package/packages/types/src/Locale.ts +0 -16
  1012. package/packages/types/src/Result.ts +0 -118
  1013. package/packages/types/src/ResultJson.ts +0 -9
  1014. package/packages/types/src/ShowCoordinates.ts +0 -5
  1015. package/packages/types/src/TextDirection.ts +0 -1
  1016. package/packages/types/src/Tile.ts +0 -56
  1017. package/packages/types/src/TileConfig.ts +0 -5
  1018. package/packages/types/src/TileJson.ts +0 -4
  1019. package/packages/types/src/WordBonus.ts +0 -15
  1020. package/packages/types/src/WordDefinition.ts +0 -54
  1021. package/packages/types/src/WordDefinitionJson.ts +0 -12
  1022. package/packages/types/src/index.ts +0 -40
  1023. package/packages/types/src/lib/getBoardWords.ts +0 -11
  1024. package/packages/types/src/lib/getCells.test.ts +0 -127
  1025. package/packages/types/src/lib/getCells.ts +0 -31
  1026. package/packages/types/src/lib/getCollidingWords.ts +0 -25
  1027. package/packages/types/src/lib/getCollision.ts +0 -38
  1028. package/packages/types/src/lib/getCollisions.test.ts +0 -82
  1029. package/packages/types/src/lib/getCollisions.ts +0 -22
  1030. package/packages/types/src/lib/getPlacedCell.ts +0 -9
  1031. package/packages/types/src/lib/getWordThrough.ts +0 -30
  1032. package/packages/types/src/lib/getWordsInRows.ts +0 -34
  1033. package/packages/types/src/lib/index.ts +0 -5
  1034. package/packages/types/src/lib/isSameBoardWord.ts +0 -5
  1035. package/packages/types/src/lib/toBoardWord.ts +0 -12
  1036. package/packages/types/src/lib/transpose.ts +0 -15
  1037. package/packages/types/src/type-guards/index.ts +0 -10
  1038. package/packages/types/src/type-guards/isBingo.ts +0 -8
  1039. package/packages/types/src/type-guards/isBoardJson.test.ts +0 -33
  1040. package/packages/types/src/type-guards/isBoardJson.ts +0 -23
  1041. package/packages/types/src/type-guards/isCellJson.ts +0 -14
  1042. package/packages/types/src/type-guards/isError.ts +0 -9
  1043. package/packages/types/src/type-guards/isGame.ts +0 -5
  1044. package/packages/types/src/type-guards/isLocale.ts +0 -5
  1045. package/packages/types/src/type-guards/isMultiplierBingo.ts +0 -7
  1046. package/packages/types/src/type-guards/isObject.ts +0 -3
  1047. package/packages/types/src/type-guards/isScoreBingo.ts +0 -7
  1048. package/packages/types/src/type-guards/isTileJson.ts +0 -7
  1049. package/packages/types/tsconfig.json +0 -10
  1050. package/packages/word-definitions/README.md +0 -3
  1051. package/packages/word-definitions/build/crawl.d.ts +0 -2
  1052. package/packages/word-definitions/build/crawl.js +0 -20
  1053. package/packages/word-definitions/build/getWordDefinition.d.ts +0 -2
  1054. package/packages/word-definitions/build/getWordDefinition.js +0 -13
  1055. package/packages/word-definitions/build/index.d.ts +0 -5
  1056. package/packages/word-definitions/build/index.js +0 -21
  1057. package/packages/word-definitions/build/languages/english.d.ts +0 -3
  1058. package/packages/word-definitions/build/languages/english.js +0 -38
  1059. package/packages/word-definitions/build/languages/french.d.ts +0 -3
  1060. package/packages/word-definitions/build/languages/french.js +0 -22
  1061. package/packages/word-definitions/build/languages/german.d.ts +0 -3
  1062. package/packages/word-definitions/build/languages/german.js +0 -70
  1063. package/packages/word-definitions/build/languages/index.d.ts +0 -8
  1064. package/packages/word-definitions/build/languages/index.js +0 -44
  1065. package/packages/word-definitions/build/languages/persian.d.ts +0 -3
  1066. package/packages/word-definitions/build/languages/persian.js +0 -23
  1067. package/packages/word-definitions/build/languages/polish.d.ts +0 -3
  1068. package/packages/word-definitions/build/languages/polish.js +0 -24
  1069. package/packages/word-definitions/build/languages/romanian.d.ts +0 -3
  1070. package/packages/word-definitions/build/languages/romanian.js +0 -26
  1071. package/packages/word-definitions/build/languages/spanish.d.ts +0 -3
  1072. package/packages/word-definitions/build/languages/spanish.js +0 -39
  1073. package/packages/word-definitions/build/languages/turkish.d.ts +0 -3
  1074. package/packages/word-definitions/build/languages/turkish.js +0 -31
  1075. package/packages/word-definitions/build/lib/index.d.ts +0 -3
  1076. package/packages/word-definitions/build/lib/index.js +0 -9
  1077. package/packages/word-definitions/build/lib/normalizeDefinition.d.ts +0 -1
  1078. package/packages/word-definitions/build/lib/normalizeDefinition.js +0 -46
  1079. package/packages/word-definitions/build/lib/request.d.ts +0 -6
  1080. package/packages/word-definitions/build/lib/request.js +0 -28
  1081. package/packages/word-definitions/build/lib/unique.d.ts +0 -1
  1082. package/packages/word-definitions/build/lib/unique.js +0 -5
  1083. package/packages/word-definitions/build/parse.d.ts +0 -3
  1084. package/packages/word-definitions/build/parse.js +0 -25
  1085. package/packages/word-definitions/build/types.d.ts +0 -4
  1086. package/packages/word-definitions/build/types.js +0 -2
  1087. package/packages/word-definitions/package.json +0 -43
  1088. package/packages/word-definitions/src/__tests__/expected/de-DE.hm.json +0 -4
  1089. package/packages/word-definitions/src/__tests__/expected/de-DE.ho.json +0 -9
  1090. package/packages/word-definitions/src/__tests__/expected/de-DE.kolla.json +0 -4
  1091. package/packages/word-definitions/src/__tests__/expected/de-DE.vom.json +0 -16
  1092. package/packages/word-definitions/src/__tests__/expected/en-US.awe.json +0 -12
  1093. package/packages/word-definitions/src/__tests__/expected/en-US.oe.json +0 -7
  1094. package/packages/word-definitions/src/__tests__/expected/en-US.pawn.json +0 -16
  1095. package/packages/word-definitions/src/__tests__/expected/en-US.pawnee.json +0 -6
  1096. package/packages/word-definitions/src/__tests__/expected/en-US.pean.json +0 -9
  1097. package/packages/word-definitions/src/__tests__/expected/en-US.wiz.json +0 -10
  1098. package/packages/word-definitions/src/__tests__/expected/en-US.zzzzqq.json +0 -4
  1099. package/packages/word-definitions/src/__tests__/expected/es-ES.corma.json +0 -7
  1100. package/packages/word-definitions/src/__tests__/expected/es-ES.portero.json +0 -9
  1101. package/packages/word-definitions/src/__tests__/expected/ro-RO.aciua.json +0 -7
  1102. package/packages/word-definitions/src/__tests__/expected/tr-TR.lojik.json +0 -4
  1103. package/packages/word-definitions/src/__tests__/input/de-DE.hm.html +0 -873
  1104. package/packages/word-definitions/src/__tests__/input/de-DE.ho.html +0 -1144
  1105. package/packages/word-definitions/src/__tests__/input/de-DE.kolla.html +0 -980
  1106. package/packages/word-definitions/src/__tests__/input/de-DE.vom.html +0 -738
  1107. package/packages/word-definitions/src/__tests__/input/en-US.awe.json +0 -1
  1108. package/packages/word-definitions/src/__tests__/input/en-US.oe.json +0 -1
  1109. package/packages/word-definitions/src/__tests__/input/en-US.pawn.json +0 -1
  1110. package/packages/word-definitions/src/__tests__/input/en-US.pawnee.json +0 -1
  1111. package/packages/word-definitions/src/__tests__/input/en-US.pean.json +0 -1
  1112. package/packages/word-definitions/src/__tests__/input/en-US.wiz.json +0 -1
  1113. package/packages/word-definitions/src/__tests__/input/en-US.zzzzqq.json +0 -1
  1114. package/packages/word-definitions/src/__tests__/input/es-ES.corma.html +0 -762
  1115. package/packages/word-definitions/src/__tests__/input/es-ES.portero.html +0 -764
  1116. package/packages/word-definitions/src/__tests__/input/ro-RO.aciua.html +0 -31
  1117. package/packages/word-definitions/src/__tests__/input/tr-TR.lojik.html +0 -1
  1118. package/packages/word-definitions/src/crawl.ts +0 -19
  1119. package/packages/word-definitions/src/getWordDefinition.ts +0 -11
  1120. package/packages/word-definitions/src/index.ts +0 -5
  1121. package/packages/word-definitions/src/languages/english.ts +0 -53
  1122. package/packages/word-definitions/src/languages/french.ts +0 -22
  1123. package/packages/word-definitions/src/languages/german.ts +0 -88
  1124. package/packages/word-definitions/src/languages/index.ts +0 -8
  1125. package/packages/word-definitions/src/languages/persian.ts +0 -24
  1126. package/packages/word-definitions/src/languages/polish.ts +0 -24
  1127. package/packages/word-definitions/src/languages/romanian.ts +0 -27
  1128. package/packages/word-definitions/src/languages/spanish.ts +0 -42
  1129. package/packages/word-definitions/src/languages/turkish.ts +0 -32
  1130. package/packages/word-definitions/src/lib/index.ts +0 -3
  1131. package/packages/word-definitions/src/lib/normalizeDefinition.ts +0 -53
  1132. package/packages/word-definitions/src/lib/request.ts +0 -30
  1133. package/packages/word-definitions/src/lib/unique.ts +0 -1
  1134. package/packages/word-definitions/src/parse.test.ts +0 -41
  1135. package/packages/word-definitions/src/parse.ts +0 -26
  1136. package/packages/word-definitions/src/types.ts +0 -4
  1137. package/packages/word-definitions/tsconfig.json +0 -10
  1138. package/packages/word-lists/README.md +0 -3
  1139. package/packages/word-lists/build/getWordList.d.ts +0 -2
  1140. package/packages/word-lists/build/getWordList.js +0 -18
  1141. package/packages/word-lists/build/index.d.ts +0 -3
  1142. package/packages/word-lists/build/index.js +0 -21
  1143. package/packages/word-lists/build/languages/english.d.ts +0 -2
  1144. package/packages/word-lists/build/languages/english.js +0 -15
  1145. package/packages/word-lists/build/languages/french.d.ts +0 -1
  1146. package/packages/word-lists/build/languages/french.js +0 -11
  1147. package/packages/word-lists/build/languages/german.d.ts +0 -1
  1148. package/packages/word-lists/build/languages/german.js +0 -10
  1149. package/packages/word-lists/build/languages/index.d.ts +0 -8
  1150. package/packages/word-lists/build/languages/index.js +0 -44
  1151. package/packages/word-lists/build/languages/persian.d.ts +0 -1
  1152. package/packages/word-lists/build/languages/persian.js +0 -10
  1153. package/packages/word-lists/build/languages/polish.d.ts +0 -1
  1154. package/packages/word-lists/build/languages/polish.js +0 -56
  1155. package/packages/word-lists/build/languages/romanian.d.ts +0 -1
  1156. package/packages/word-lists/build/languages/romanian.js +0 -11
  1157. package/packages/word-lists/build/languages/spanish.d.ts +0 -1
  1158. package/packages/word-lists/build/languages/spanish.js +0 -11
  1159. package/packages/word-lists/build/languages/turkish.d.ts +0 -1
  1160. package/packages/word-lists/build/languages/turkish.js +0 -10
  1161. package/packages/word-lists/build/lib/downloadFile.d.ts +0 -1
  1162. package/packages/word-lists/build/lib/downloadFile.js +0 -38
  1163. package/packages/word-lists/build/lib/downloadHtml.d.ts +0 -1
  1164. package/packages/word-lists/build/lib/downloadHtml.js +0 -21
  1165. package/packages/word-lists/build/lib/extractWords.d.ts +0 -1
  1166. package/packages/word-lists/build/lib/extractWords.js +0 -17
  1167. package/packages/word-lists/build/lib/findFirstWordIndex.d.ts +0 -1
  1168. package/packages/word-lists/build/lib/findFirstWordIndex.js +0 -17
  1169. package/packages/word-lists/build/lib/getHash.d.ts +0 -1
  1170. package/packages/word-lists/build/lib/getHash.js +0 -9
  1171. package/packages/word-lists/build/lib/getTempFilepath.d.ts +0 -1
  1172. package/packages/word-lists/build/lib/getTempFilepath.js +0 -15
  1173. package/packages/word-lists/build/lib/getTxtWordList.d.ts +0 -1
  1174. package/packages/word-lists/build/lib/getTxtWordList.js +0 -17
  1175. package/packages/word-lists/build/lib/index.d.ts +0 -10
  1176. package/packages/word-lists/build/lib/index.js +0 -23
  1177. package/packages/word-lists/build/lib/transliterateDiacritics.d.ts +0 -2
  1178. package/packages/word-lists/build/lib/transliterateDiacritics.js +0 -9
  1179. package/packages/word-lists/build/lib/unique.d.ts +0 -1
  1180. package/packages/word-lists/build/lib/unique.js +0 -5
  1181. package/packages/word-lists/build/lib/unzip.d.ts +0 -1
  1182. package/packages/word-lists/build/lib/unzip.js +0 -24
  1183. package/packages/word-lists/package.json +0 -45
  1184. package/packages/word-lists/src/getWordList.ts +0 -17
  1185. package/packages/word-lists/src/index.ts +0 -3
  1186. package/packages/word-lists/src/languages/english.ts +0 -16
  1187. package/packages/word-lists/src/languages/french.ts +0 -11
  1188. package/packages/word-lists/src/languages/german.ts +0 -10
  1189. package/packages/word-lists/src/languages/index.ts +0 -8
  1190. package/packages/word-lists/src/languages/persian.ts +0 -10
  1191. package/packages/word-lists/src/languages/polish.ts +0 -59
  1192. package/packages/word-lists/src/languages/romanian.ts +0 -10
  1193. package/packages/word-lists/src/languages/spanish.ts +0 -10
  1194. package/packages/word-lists/src/languages/turkish.ts +0 -9
  1195. package/packages/word-lists/src/lib/downloadFile.ts +0 -37
  1196. package/packages/word-lists/src/lib/downloadHtml.ts +0 -18
  1197. package/packages/word-lists/src/lib/extractWords.ts +0 -17
  1198. package/packages/word-lists/src/lib/findFirstWordIndex.ts +0 -16
  1199. package/packages/word-lists/src/lib/getHash.ts +0 -3
  1200. package/packages/word-lists/src/lib/getTempFilepath.ts +0 -11
  1201. package/packages/word-lists/src/lib/getTxtWordList.ts +0 -12
  1202. package/packages/word-lists/src/lib/index.ts +0 -10
  1203. package/packages/word-lists/src/lib/transliterateDiacritics.ts +0 -7
  1204. package/packages/word-lists/src/lib/unique.ts +0 -1
  1205. package/packages/word-lists/src/lib/unzip.ts +0 -18
  1206. package/packages/word-lists/tsconfig.json +0 -10
  1207. package/playwright-report/index.html +0 -49
  1208. package/test-results/.last-run.json +0 -4
  1209. package/todo.txt +0 -5
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.transpose = transpose;
4
- function transpose(array) {
5
- const rows = array.length;
6
- const cols = array[0].length;
7
- const transposed = Array(cols)
8
- .fill(null)
9
- .map(() => Array(rows));
10
- for (let y = 0; y < rows; ++y) {
11
- for (let x = 0; x < cols; ++x) {
12
- transposed[x][y] = array[y][x];
13
- }
14
- }
15
- return transposed;
16
- }
@@ -1,10 +0,0 @@
1
- export { isBingo } from './isBingo';
2
- export { isBoardJson } from './isBoardJson';
3
- export { isCellJson } from './isCellJson';
4
- export { isError } from './isError';
5
- export { isGame } from './isGame';
6
- export { isLocale } from './isLocale';
7
- export { isMultiplierBingo } from './isMultiplierBingo';
8
- export { isObject } from './isObject';
9
- export { isScoreBingo } from './isScoreBingo';
10
- export { isTileJson } from './isTileJson';
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isTileJson = exports.isScoreBingo = exports.isObject = exports.isMultiplierBingo = exports.isLocale = exports.isGame = exports.isError = exports.isCellJson = exports.isBoardJson = exports.isBingo = void 0;
4
- var isBingo_1 = require("./isBingo");
5
- Object.defineProperty(exports, "isBingo", { enumerable: true, get: function () { return isBingo_1.isBingo; } });
6
- var isBoardJson_1 = require("./isBoardJson");
7
- Object.defineProperty(exports, "isBoardJson", { enumerable: true, get: function () { return isBoardJson_1.isBoardJson; } });
8
- var isCellJson_1 = require("./isCellJson");
9
- Object.defineProperty(exports, "isCellJson", { enumerable: true, get: function () { return isCellJson_1.isCellJson; } });
10
- var isError_1 = require("./isError");
11
- Object.defineProperty(exports, "isError", { enumerable: true, get: function () { return isError_1.isError; } });
12
- var isGame_1 = require("./isGame");
13
- Object.defineProperty(exports, "isGame", { enumerable: true, get: function () { return isGame_1.isGame; } });
14
- var isLocale_1 = require("./isLocale");
15
- Object.defineProperty(exports, "isLocale", { enumerable: true, get: function () { return isLocale_1.isLocale; } });
16
- var isMultiplierBingo_1 = require("./isMultiplierBingo");
17
- Object.defineProperty(exports, "isMultiplierBingo", { enumerable: true, get: function () { return isMultiplierBingo_1.isMultiplierBingo; } });
18
- var isObject_1 = require("./isObject");
19
- Object.defineProperty(exports, "isObject", { enumerable: true, get: function () { return isObject_1.isObject; } });
20
- var isScoreBingo_1 = require("./isScoreBingo");
21
- Object.defineProperty(exports, "isScoreBingo", { enumerable: true, get: function () { return isScoreBingo_1.isScoreBingo; } });
22
- var isTileJson_1 = require("./isTileJson");
23
- Object.defineProperty(exports, "isTileJson", { enumerable: true, get: function () { return isTileJson_1.isTileJson; } });
@@ -1,2 +0,0 @@
1
- import { type Bingo } from '../Bingo';
2
- export declare const isBingo: (value: unknown) => value is Bingo;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isBingo = void 0;
4
- const isMultiplierBingo_1 = require("./isMultiplierBingo");
5
- const isScoreBingo_1 = require("./isScoreBingo");
6
- const isBingo = (value) => {
7
- return (0, isScoreBingo_1.isScoreBingo)(value) || (0, isMultiplierBingo_1.isMultiplierBingo)(value);
8
- };
9
- exports.isBingo = isBingo;
@@ -1,2 +0,0 @@
1
- import { type BoardJson } from '../BoardJson';
2
- export declare const isBoardJson: (value: unknown) => value is BoardJson;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isBoardJson = void 0;
4
- const isCellJson_1 = require("./isCellJson");
5
- const isBoardJson = (value) => {
6
- if (!Array.isArray(value)) {
7
- return false;
8
- }
9
- for (const row of value) {
10
- if (!Array.isArray(row)) {
11
- return false;
12
- }
13
- for (const cell of row) {
14
- if (!(0, isCellJson_1.isCellJson)(cell)) {
15
- return false;
16
- }
17
- }
18
- }
19
- return true;
20
- };
21
- exports.isBoardJson = isBoardJson;
@@ -1,2 +0,0 @@
1
- import { type CellJson } from '../CellJson';
2
- export declare const isCellJson: (value: unknown) => value is CellJson;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isCellJson = void 0;
4
- const isObject_1 = require("./isObject");
5
- const isTileJson_1 = require("./isTileJson");
6
- const isCellJson = (value) => {
7
- return ((0, isObject_1.isObject)(value) &&
8
- typeof value.isEmpty === 'boolean' &&
9
- ((0, isTileJson_1.isTileJson)(value.tile) || value.tile === null) &&
10
- typeof value.x === 'number' &&
11
- typeof value.y === 'number');
12
- };
13
- exports.isCellJson = isCellJson;
@@ -1 +0,0 @@
1
- export declare const isError: (value: unknown) => value is Error;
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isError = void 0;
4
- const isObject_1 = require("./isObject");
5
- const isError = (value) => {
6
- if (!(0, isObject_1.isObject)(value)) {
7
- return false;
8
- }
9
- return typeof value.message === 'string';
10
- };
11
- exports.isError = isError;
@@ -1,2 +0,0 @@
1
- import { Game } from '../Game';
2
- export declare const isGame: (locale: unknown) => locale is Game;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isGame = void 0;
4
- const Game_1 = require("../Game");
5
- const games = Object.values(Game_1.Game);
6
- const isGame = (locale) => games.includes(locale);
7
- exports.isGame = isGame;
@@ -1,2 +0,0 @@
1
- import { Locale } from '../Locale';
2
- export declare const isLocale: (locale: unknown) => locale is Locale;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isLocale = void 0;
4
- const Locale_1 = require("../Locale");
5
- const locales = Object.values(Locale_1.Locale);
6
- const isLocale = (locale) => locales.includes(locale);
7
- exports.isLocale = isLocale;
@@ -1,2 +0,0 @@
1
- import { type MultiplierBingo } from '../Bingo';
2
- export declare const isMultiplierBingo: (value: unknown) => value is MultiplierBingo;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isMultiplierBingo = void 0;
4
- const isObject_1 = require("./isObject");
5
- const isMultiplierBingo = (value) => {
6
- return (0, isObject_1.isObject)(value) && 'multiplier' in value && typeof value.multiplier === 'number';
7
- };
8
- exports.isMultiplierBingo = isMultiplierBingo;
@@ -1 +0,0 @@
1
- export declare const isObject: (value: unknown) => value is Record<string, unknown>;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isObject = void 0;
4
- const isObject = (value) => {
5
- return typeof value === 'object' && value !== null;
6
- };
7
- exports.isObject = isObject;
@@ -1,2 +0,0 @@
1
- import { type ScoreBingo } from '../Bingo';
2
- export declare const isScoreBingo: (value: unknown) => value is ScoreBingo;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isScoreBingo = void 0;
4
- const isObject_1 = require("./isObject");
5
- const isScoreBingo = (value) => {
6
- return (0, isObject_1.isObject)(value) && 'score' in value && typeof value.score === 'number';
7
- };
8
- exports.isScoreBingo = isScoreBingo;
@@ -1,2 +0,0 @@
1
- import { type TileJson } from '../TileJson';
2
- export declare const isTileJson: (value: unknown) => value is TileJson;
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isTileJson = void 0;
4
- const isObject_1 = require("./isObject");
5
- const isTileJson = (value) => {
6
- return (0, isObject_1.isObject)(value) && typeof value.character === 'string' && typeof value.isBlank === 'boolean';
7
- };
8
- exports.isTileJson = isTileJson;
@@ -1,37 +0,0 @@
1
- {
2
- "name": "@scrabble-solver/types",
3
- "version": "2.18.9",
4
- "description": "Domain model for Scrabble Solver: Board, Cell, Tile, Result, Config, Locale, and their JSON wire shapes.",
5
- "keywords": [
6
- "scrabble",
7
- "types",
8
- "domain-model",
9
- "board",
10
- "tiles"
11
- ],
12
- "main": "build/index.js",
13
- "types": "build/index.d.ts",
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/kamilmielnik/scrabble-solver.git"
17
- },
18
- "author": {
19
- "name": "Kamil Mielnik",
20
- "email": "kamil@kamilmielnik.com",
21
- "url": "https://kamilmielnik.com"
22
- },
23
- "license": "CC-BY-NC-ND-4.0",
24
- "bugs": {
25
- "url": "https://github.com/kamilmielnik/scrabble-solver/issues"
26
- },
27
- "homepage": "https://scrabble-solver.org",
28
- "scripts": {
29
- "build": "tsc --project .",
30
- "clean": "rimraf build/",
31
- "test": "bun test src"
32
- },
33
- "dependencies": {
34
- "@scrabble-solver/constants": "2.18.9"
35
- },
36
- "gitHead": "f029a11f306a01937ee99fc6365cb226b972dfed"
37
- }
@@ -1,5 +0,0 @@
1
- export type MultiplierBingo = { multiplier: number };
2
-
3
- export type ScoreBingo = { score: number };
4
-
5
- export type Bingo = MultiplierBingo | ScoreBingo;
@@ -1,85 +0,0 @@
1
- import { describe, expect, it } from 'bun:test';
2
-
3
- import { Board } from './Board';
4
- import { Cell } from './Cell';
5
- import { Tile } from './Tile';
6
-
7
- describe('Board.getWords', () => {
8
- it('returns no words for an empty board', () => {
9
- const board = Board.fromStringArray([' ', ' ', ' ', ' ', ' ']);
10
-
11
- expect(board.getWords()).toEqual([]);
12
- });
13
-
14
- it('locates a horizontal word', () => {
15
- const board = Board.fromStringArray([' ', ' cat ', ' ', ' ', ' ']);
16
-
17
- expect(board.getWords()).toEqual([{ direction: 'horizontal', word: 'cat', x: 1, y: 1 }]);
18
- });
19
-
20
- it('locates a vertical word', () => {
21
- const board = Board.fromStringArray([' ', ' c ', ' a ', ' t ', ' ']);
22
-
23
- expect(board.getWords()).toEqual([{ direction: 'vertical', word: 'cat', x: 2, y: 1 }]);
24
- });
25
-
26
- it('locates crossing words in both directions', () => {
27
- const board = Board.fromStringArray([' ', ' cat ', ' o ', ' d ', ' ']);
28
-
29
- expect(board.getWords()).toEqual([
30
- { direction: 'horizontal', word: 'cat', x: 1, y: 1 },
31
- { direction: 'vertical', word: 'cod', x: 1, y: 1 },
32
- ]);
33
- });
34
-
35
- it('distinguishes the same word at different positions', () => {
36
- const board = Board.fromStringArray(['cat ', ' ', ' cat', ' ', ' ']);
37
-
38
- expect(board.getWords()).toEqual([
39
- { direction: 'horizontal', word: 'cat', x: 0, y: 0 },
40
- { direction: 'horizontal', word: 'cat', x: 2, y: 2 },
41
- ]);
42
- });
43
-
44
- it('skips single-tile runs', () => {
45
- const board = Board.fromStringArray([' ', ' a ', ' ', ' to', ' ']);
46
-
47
- expect(board.getWords()).toEqual([{ direction: 'horizontal', word: 'to', x: 3, y: 3 }]);
48
- });
49
-
50
- it('locates a word with a digraph tile occupying a single cell', () => {
51
- const board = Board.fromStringArray([' ', ' e', ' ']);
52
- board.updateCell(1, 1, () => new Cell({ isEmpty: false, tile: new Tile({ character: 'ch' }), x: 1, y: 1 }));
53
-
54
- expect(board.getWords()).toEqual([{ direction: 'horizontal', word: 'che', x: 1, y: 1 }]);
55
- });
56
- });
57
-
58
- describe('Board.getCollidingWords', () => {
59
- const board = Board.fromStringArray([' ', ' cat ', ' o o', ' dot ', ' ']);
60
-
61
- it('finds the words crossing each cell of a horizontal word', () => {
62
- expect(board.getCollidingWords({ direction: 'horizontal', word: 'cat', x: 1, y: 1 })).toEqual([
63
- { direction: 'vertical', word: 'cod', x: 1, y: 1 },
64
- ]);
65
- });
66
-
67
- it('finds the words crossing each cell of a vertical word', () => {
68
- expect(board.getCollidingWords({ direction: 'vertical', word: 'cod', x: 1, y: 1 })).toEqual([
69
- { direction: 'horizontal', word: 'cat', x: 1, y: 1 },
70
- { direction: 'horizontal', word: 'dot', x: 1, y: 3 },
71
- ]);
72
- });
73
-
74
- it('finds a crossing word entered away from its start', () => {
75
- expect(board.getCollidingWords({ direction: 'horizontal', word: 'dot', x: 1, y: 3 })).toEqual([
76
- { direction: 'vertical', word: 'cod', x: 1, y: 1 },
77
- ]);
78
- });
79
-
80
- it('returns no words for a word without crossings', () => {
81
- const lonely = Board.fromStringArray([' ', ' cat ', ' ', ' ', ' ']);
82
-
83
- expect(lonely.getCollidingWords({ direction: 'horizontal', word: 'cat', x: 1, y: 1 })).toEqual([]);
84
- });
85
- });
@@ -1,141 +0,0 @@
1
- import { EMPTY_CELL } from '@scrabble-solver/constants';
2
-
3
- import { type BoardJson } from './BoardJson';
4
- import { type BoardWord } from './BoardWord';
5
- import { Cell } from './Cell';
6
- import { getBoardWords, getCollidingWords } from './lib';
7
- import { Tile } from './Tile';
8
-
9
- export class Board {
10
- public static create = (width: number, height: number): Board => {
11
- const rows = Array(height);
12
- const emptyRow = Array(width).fill(' ').join('');
13
- const emptyRows: string[] = rows.fill(emptyRow);
14
- return Board.fromStringArray(emptyRows);
15
- };
16
-
17
- public static fromJson = (json: BoardJson): Board => {
18
- return new Board({
19
- rows: json.map((row) => row.map(Cell.fromJson)),
20
- });
21
- };
22
-
23
- public static fromStringArray(stringArray: string[]): Board {
24
- return new Board({
25
- rows: stringArray.map((row, y) =>
26
- row.split('').map(
27
- (character, x) =>
28
- new Cell({
29
- isEmpty: !character || character === EMPTY_CELL,
30
- tile: character === EMPTY_CELL ? Tile.Null : new Tile({ character }),
31
- x,
32
- y,
33
- }),
34
- ),
35
- ),
36
- });
37
- }
38
-
39
- public readonly columnsCount: number;
40
-
41
- public readonly rows: Cell[][];
42
-
43
- public readonly rowsCount: number;
44
-
45
- constructor({ rows }: { rows: Cell[][] }) {
46
- this.rows = rows;
47
- this.columnsCount = rows[0].length;
48
- this.rowsCount = rows.length;
49
- }
50
-
51
- public get center(): Cell {
52
- const x = Math.floor(this.columnsCount / 2);
53
- const y = Math.floor(this.rowsCount / 2);
54
- return this.rows[y][x];
55
- }
56
-
57
- public clone(): Board {
58
- const rows = this.rows.map((row) => row.map((cell) => cell.clone()));
59
- return new Board({ rows });
60
- }
61
-
62
- public collides(cell: Cell): boolean {
63
- return this.collidesUp(cell) || this.collidesDown(cell) || this.collidesLeft(cell) || this.collidesRight(cell);
64
- }
65
-
66
- public collidesDown({ x, y }: Cell): boolean {
67
- return y < this.rowsCount - 1 && !this.rows[y + 1][x].isEmpty;
68
- }
69
-
70
- public collidesLeft({ x, y }: Cell): boolean {
71
- return x > 0 && !this.rows[y][x - 1].isEmpty;
72
- }
73
-
74
- public collidesRight({ x, y }: Cell): boolean {
75
- return x < this.columnsCount - 1 && !this.rows[y][x + 1].isEmpty;
76
- }
77
-
78
- public collidesUp({ x, y }: Cell): boolean {
79
- return y > 0 && !this.rows[y - 1][x].isEmpty;
80
- }
81
-
82
- public equals(other: Board): boolean {
83
- return (
84
- this.columnsCount === other.columnsCount &&
85
- this.rowsCount === other.rowsCount &&
86
- this.rows.every((row, rowIndex) => {
87
- return row.every((cell, cellIndex) => {
88
- return cell.equals(other.rows[rowIndex][cellIndex]);
89
- });
90
- })
91
- );
92
- }
93
-
94
- public getBlanksCount(): number {
95
- return this.rows.reduce((count, row) => {
96
- return count + row.reduce((rowCount, cell) => rowCount + (cell.tile.isBlank ? 1 : 0), 0);
97
- }, 0);
98
- }
99
-
100
- public getCollidingWords(word: BoardWord): BoardWord[] {
101
- return getCollidingWords(this, word);
102
- }
103
-
104
- public getColumn(index: number): Cell[] {
105
- return this.rows.map((row) => row[index]);
106
- }
107
-
108
- public getRow(index: number): Cell[] {
109
- return this.rows[index];
110
- }
111
-
112
- public getTilesCount(): number {
113
- return this.rows.reduce((count, row) => {
114
- return count + row.reduce((rowCount, cell) => rowCount + (cell.hasTile() ? 1 : 0), 0);
115
- }, 0);
116
- }
117
-
118
- public getWords(): BoardWord[] {
119
- return getBoardWords(this);
120
- }
121
-
122
- public isEmpty(): boolean {
123
- return this.rows.every((row) => row.every(({ isEmpty }) => isEmpty));
124
- }
125
-
126
- public toJson(): BoardJson {
127
- return this.rows.map((row) => row.map((cell) => cell.toJson()));
128
- }
129
-
130
- public toString(): string {
131
- return this.rows.map((row) => row.map(String).join('')).join('\n');
132
- }
133
-
134
- public updateCell(x: number, y: number, updateCell: (cell: Cell) => Cell): void {
135
- this.rows[y][x] = updateCell(this.rows[y][x]);
136
- }
137
-
138
- public updateRow(y: number, updateRow: (cells: Cell[]) => Cell[]): void {
139
- this.rows[y] = updateRow(this.rows[y]);
140
- }
141
- }
@@ -1,3 +0,0 @@
1
- import { type CellJson } from './CellJson';
2
-
3
- export type BoardJson = CellJson[][];
@@ -1,8 +0,0 @@
1
- import { type Direction } from './Direction';
2
-
3
- export interface BoardWord {
4
- direction: Direction;
5
- word: string;
6
- x: number;
7
- y: number;
8
- }
@@ -1,50 +0,0 @@
1
- import { type BONUS_CHARACTER, type BONUS_WORD } from '@scrabble-solver/constants';
2
-
3
- import { type BonusJson } from './BonusJson';
4
- import { type BonusValue } from './BonusValue';
5
- import { type Cell } from './Cell';
6
- import { type Config } from './Config';
7
-
8
- export abstract class Bonus {
9
- public readonly multiplier: number;
10
-
11
- public readonly score: number | undefined;
12
-
13
- public abstract readonly type: typeof BONUS_CHARACTER | typeof BONUS_WORD;
14
-
15
- public readonly x: number;
16
-
17
- public readonly y: number;
18
-
19
- constructor({ multiplier, score, x, y }: { multiplier: number; score?: number; x: number; y: number }) {
20
- this.multiplier = multiplier;
21
- this.score = score;
22
- this.x = x;
23
- this.y = y;
24
- }
25
-
26
- public canApply(_config: Config, cell: Cell): boolean {
27
- return cell.isEmpty && this.matchesCellCoordinates(cell);
28
- }
29
-
30
- public matchesCellCoordinates(cell: Cell): boolean {
31
- return this.x === cell.x && this.y === cell.y;
32
- }
33
-
34
- public toJson(): BonusJson {
35
- return {
36
- multiplier: this.multiplier,
37
- score: this.score,
38
- type: this.type,
39
- x: this.x,
40
- y: this.y,
41
- };
42
- }
43
-
44
- public get value(): BonusValue {
45
- return {
46
- characterMultiplier: 1,
47
- wordMultiplier: 1,
48
- };
49
- }
50
- }
@@ -1,7 +0,0 @@
1
- export interface BonusJson {
2
- multiplier: number;
3
- score?: number;
4
- type: string;
5
- x: number;
6
- y: number;
7
- }
@@ -1,4 +0,0 @@
1
- export interface BonusValue {
2
- characterMultiplier: number;
3
- wordMultiplier: number;
4
- }
@@ -1,66 +0,0 @@
1
- import { type CellJson } from './CellJson';
2
- import { Tile } from './Tile';
3
-
4
- export class Cell {
5
- public static fromJson = (json: CellJson): Cell => {
6
- return new Cell({
7
- isEmpty: json.isEmpty,
8
- tile: Tile.fromJson(json.tile),
9
- x: json.x,
10
- y: json.y,
11
- });
12
- };
13
-
14
- public readonly isEmpty: boolean;
15
-
16
- public tile: Tile;
17
-
18
- public readonly x: number;
19
-
20
- public readonly y: number;
21
-
22
- constructor({ isEmpty = true, tile = Tile.Null, x, y }: { isEmpty?: boolean; tile?: Tile; x: number; y: number }) {
23
- this.isEmpty = isEmpty;
24
- this.tile = tile;
25
- this.x = x;
26
- this.y = y;
27
- }
28
-
29
- public clone(): Cell {
30
- return new Cell({
31
- isEmpty: this.isEmpty,
32
- tile: this.tile.clone(),
33
- x: this.x,
34
- y: this.y,
35
- });
36
- }
37
-
38
- public equals(other: Cell): boolean {
39
- return this.x === other.x && this.y === other.y && this.isEmpty === other.isEmpty && this.tile.equals(other.tile);
40
- }
41
-
42
- public hasTile(): boolean {
43
- return this.tile !== Tile.Null;
44
- }
45
-
46
- public isCandidate(): boolean {
47
- return this.isEmpty && this.hasTile();
48
- }
49
-
50
- public isFilled(): boolean {
51
- return !this.isEmpty && this.hasTile();
52
- }
53
-
54
- public toJson(): CellJson {
55
- return {
56
- isEmpty: this.isEmpty,
57
- tile: this.tile.toJson(),
58
- x: this.x,
59
- y: this.y,
60
- };
61
- }
62
-
63
- public toString(): string {
64
- return this.tile.toString();
65
- }
66
- }
@@ -1,8 +0,0 @@
1
- import { type TileJson } from './TileJson';
2
-
3
- export interface CellJson {
4
- isEmpty: boolean;
5
- tile: TileJson | null;
6
- x: number;
7
- y: number;
8
- }