Commit Graph

17 Commits

Author SHA1 Message Date
Kelvin Ly cae333e3a1 Add a slight bias towards words that are also valid guesses 2023-05-13 08:31:17 -04:00
Kelvin Ly 89bce94a76 Add comment on word count discrepancy 2023-05-13 03:56:04 -04:00
Kelvin Ly 49e54bb840 Add current version of optimized webassembly file 2023-05-13 03:53:46 -04:00
Kelvin Ly d7c2c6249a Add a WASM version of the wordle solver; it seems to be fairly faster 2023-05-13 03:53:02 -04:00
Kelvin Ly 1e31f023bd Add some more utility functions; basic testing shows it works about the same as the original Javascript, after fixing that off by one bug 2023-05-12 17:05:00 -04:00
Kelvin Ly 93c5821248 Wrap everything in a struct 2023-05-12 15:26:13 -04:00
Kelvin Ly 74812a6a01 Looks like we've got meaningful communication between Rust and JavaScript, time for some refactoring 2023-05-12 12:20:11 -04:00
Kelvin Ly febec0cf10 Shrink the webassembly binary down to a reasonable size; TODO actually test it out 2023-05-12 04:35:10 -04:00
Kelvin Ly 55b04efa85 Add infrastructure to combine to WebAssembly 2023-05-12 04:04:39 -04:00
Kelvin Ly 1b737755c9 Minor wording changes 2023-05-11 14:35:33 -04:00
Kelvin Ly 914ad8a362 Add some explanation on how to use it 2023-05-11 14:28:46 -04:00
Kelvin Ly 37ade8158d Implement a back function 2023-05-11 14:09:51 -04:00
Kelvin Ly ad3f7f0323 Implement the reset 2023-05-11 14:00:49 -04:00
Kelvin Ly 61e87095b4 Implement the basic UI; everything's basically working except for reset 2023-05-11 13:48:24 -04:00
Kelvin Ly 4c8c872c99 Finish length counting function 2023-05-11 03:29:11 -04:00
Kelvin Ly 16d108c530 Separate code into separate JavaScript file, chunk out the match precomputation so that it doesn't cause the page to be as unresponsive 2023-05-11 03:28:19 -04:00
Kelvin Ly f313a9e854 Get basic functions working; TODO map to some kind o UI 2023-05-10 22:44:59 -04:00