From 16d108c530d29e4094d990f281ff57c9d15480e6 Mon Sep 17 00:00:00 2001 From: Kelvin Ly Date: Thu, 11 May 2023 03:28:19 -0400 Subject: [PATCH] Separate code into separate JavaScript file, chunk out the match precomputation so that it doesn't cause the page to be as unresponsive --- wordle.htm | 203 +++++++---------------------------------------------- wordle.js | 175 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 200 insertions(+), 178 deletions(-) create mode 100644 wordle.js diff --git a/wordle.htm b/wordle.htm index c205e32..be4342a 100644 --- a/wordle.htm +++ b/wordle.htm @@ -18,182 +18,18 @@ color: grey; } +.log { + padding: 1em; + border: solid; +} + + + @@ -245,14 +91,15 @@ function log(s) {
- - Clear history - Submit word - Confirm word - Find best + + + + +