123 Commits

Author SHA1 Message Date
Katherine Oelsner
995c46ca58 Remove gyoza from answers list 2023-05-22 10:32:41 -07:00
Katherine Oelsner
9336a76458 change button touch action 2022-09-15 09:23:39 -07:00
Rich
ed39a1fe1f Auto-set darkMode to OS / User Agent setting (#113)
* Add darkMode to state and initialize via prefers-color-scheme

* Optionally stub window.matchMedia for specs
2022-04-04 17:19:26 -07:00
Chris
3666315f48 Dial back on shortcut detection (#134)
Allow the game to consume Shift+letter events because those can't be shortcuts by themselves
2022-03-23 15:39:51 -07:00
Katherine Peterson
cb85dc11ce Update words.tsx 2022-03-10 18:42:12 -08:00
Chris
7aba9f0273 Prevent default event handler for events handled in custom code (#129) (#130) 2022-03-03 16:09:14 -08:00
Chris
c55ae7b260 Don't consume key presses with modifiers (#103) (#128) 2022-03-03 11:01:32 -08:00
Katherine Peterson
ff4007ce69 rm doggo 2022-02-14 13:37:51 -08:00
Lens0021
9c962dad51 Avoid using literal number (#117) 2022-02-11 08:03:21 -08:00
Ian C. Anderson
fd04a80684 Bring back avg guesses (#114)
* Revert "Revert "Show "average guesses" stat (#110)" (#112)"

This reverts commit eed774481d.

* Defer resetting guesses in streak until starting new game

* Remove unused dependency

Co-authored-by: Katherine Peterson <49968061+octokatherine@users.noreply.github.com>

Co-authored-by: Katherine Peterson <49968061+octokatherine@users.noreply.github.com>
2022-02-08 19:53:08 -08:00
Scott Alguire
5b898078bb Elevate 'dark' conditional className to <html> tag. Add background tailwind classNames to <body> element. (#116) 2022-02-08 19:45:22 -08:00
Ian C. Anderson
eed774481d Revert "Show "average guesses" stat (#110)" (#112) 2022-02-06 12:43:33 -08:00
Ian C. Anderson
6d044c75a0 Set up CI (#111)
* Set up CI

This adds a CI workflow that:
- Builds and tests the project on 3 versions of node
- If branch is `main` (and build & test succeeds), deploys to production by pushing to the `gh-pages` branch

* Workaround react modal issues to get test passing

See https://github.com/reactjs/react-modal/issues/632
2022-02-06 11:15:35 -08:00
Ian C. Anderson
91fe969ab6 Show "average guesses" stat (#110) 2022-02-06 11:05:13 -08:00
Katherine Peterson
e3b6c1bd31 add clint to words list (#106) 2022-02-01 06:48:09 -08:00
Katherine Peterson
6e54f867aa Use TypeScript (#99)
Co-authored-by: Ian C. Anderson <ian@iancanderson.com>
2022-01-26 20:44:10 -08:00
Katherine Peterson
b5fc1de3bf remove alert for now 2022-01-24 16:26:33 -08:00
Katherine Peterson
d3b28cee86 rm roate from answers, add to word list (#90) 2022-01-22 09:48:36 -08:00
Katherine Peterson
36762ae22b Update answers.js 2022-01-21 17:54:15 -08:00
Katherine Peterson
0550f72bf7 add instructions for difficulty levels 2022-01-21 16:58:10 -08:00
Katherine Peterson
c582c0db6b fix hard mode logic 2022-01-21 16:47:05 -08:00
Katherine Peterson
10322bf315 add accurate error messages for invalid words, save difficulty to local storage 2022-01-21 10:19:49 -08:00
Elliot Wolk
300c92eb0b playAgain: autoFocus both "Play Again" buttons (#51) 2022-01-20 18:23:29 -08:00
Sam0ht
8c16afc2e1 Add easy and hard difficulty modes. (#85) 2022-01-20 18:17:02 -08:00
Vishal N
71d1c46a42 Added alert to notify user if the entered word is invalid. (#66) 2022-01-20 18:13:17 -08:00
donteatspiders
ea6f0a9d9a remove roate 2022-01-18 16:28:27 -08:00
Samyu Iyer
1e94abbf03 remove 'zippo' (#74) 2022-01-18 16:26:49 -08:00
Nick Oelsner
1bf980c5f3 moved play again button to be absolutely positioned under the letter grid 2022-01-16 15:48:01 -08:00
Katherine Peterson
d579ef97ac update layout 2022-01-16 12:56:44 -08:00
Katherine Peterson
ea3951dfe1 remove arris 2022-01-14 14:31:55 -08:00
Elliot Wolk
ffbe9ec9f3 persist game state in localstorage (#48) 2022-01-13 21:00:22 -08:00
Kevin Michael Boergens
c517755a37 remove stich 2022-01-13 20:59:08 -08:00
Katherine Peterson
e9a9dab0ae move play again button 2022-01-12 19:53:51 -08:00
Elliot Wolk
21b0f10a80 toggle endgame UI (#45) 2022-01-12 19:29:21 -08:00
Kevin Michael Boergens
22985e7017 suggestion for issue #52 (#54) 2022-01-12 13:16:16 -08:00
Tyler Benziger
e0f9cadfe2 Update answers.js (#53) 2022-01-12 13:12:12 -08:00
Vani Ramakrishnan
59823ca6af Fix for issue #23: removed "leger" and "agism" (#44)
Issue #23 was about "leger", which was still in, and "agism" looks like a misspelling of "ageism"?

Thanks for a great game!
2022-01-10 21:18:07 -08:00
Katherine Peterson
b64f980e11 remove mirky 2022-01-09 20:07:32 -08:00
Katherine Peterson
0dac427865 remove dotty 2022-01-09 15:24:55 -08:00
Katherine Peterson
30f443e82a add soare 2022-01-09 15:24:20 -08:00
Nick Oelsner
9eb598f382 add ui for difficulty level select 2022-01-09 10:43:42 -08:00
Nick Oelsner
46f67067b5 style dark mode toggle 2022-01-08 16:05:10 -08:00
Katherine Peterson
08af4815cb open link in new tab 2022-01-08 11:42:48 -08:00
Katherine Peterson
a924b81b34 add settings modal 2022-01-08 11:39:53 -08:00
Katherine Peterson
1e1d82e193 factor end game modal into separate component 2022-01-08 11:14:45 -08:00
Katherine Peterson
054173328d make circles flat instead of inset 2022-01-08 10:40:16 -08:00
Katherine Peterson
8543a8c75e factor out info modal component and move stuff into components folder 2022-01-08 10:38:26 -08:00
Katherine Peterson
afa596bead fix info modal layout 2022-01-08 10:31:24 -08:00
Katherine Peterson
87e239f9fa clean up dark mode pr 2022-01-08 10:26:53 -08:00
Ian
d414a188ee Add dark mode option to info modal. (#37) 2022-01-08 10:22:10 -08:00