Commit graph

53 commits

Author SHA1 Message Date
Jacob Louis Hoover
8d42c8d763
set const maxValue = Math.max(...winDistribution) 2022-01-25 13:11:04 -05:00
Jacob Louis Hoover
b5bfad1104
Update Histogram.tsx
oops missing parenthesis.
2022-01-25 13:03:27 -05:00
Jacob Louis Hoover
3f6d65fc68
histogram width divide by mode, not total
Divide by the value that occurs the most frequently, instead of the total games, so the histogram always uses the whole space available, rather than possibly getting smaller and smaller the more games are played.
2022-01-25 13:00:19 -05:00
eggplants
f0ffd07a58
fix: share text (Wordle -> Not Wordle) 2022-01-24 13:02:37 +09:00
Hannah Park
fd95f7a5d8
Merge pull request #54 from buddhist-uni/uf-middle-modal
Fix #53: Open Stats and Info Modals Center
2022-01-23 20:52:21 -05:00
Hannah Park
d4166eba7f fixed issue #47 and keyboard bug 2022-01-23 20:47:34 -05:00
Khemarato Bhikkhu
99401bf0bd Fix #53: Open Modals Center 2022-01-24 08:15:36 +07:00
Hannah Park
8104c6cd26
Merge pull request #50 from jcserv/refactor/modals
Refactor modals to reduce code duplication
2022-01-23 19:54:24 -05:00
Hannah Park
1e80e1c96f css animation small refactor 2022-01-23 19:50:34 -05:00
Hannah Park
6401f9187d
Merge pull request #49 from davidmaillo/animate-cells
Added animation to cell when a new char is inserted
2022-01-23 19:45:54 -05:00
Hannah Park
b34edbde7b
Merge pull request #44 from buddhist-uni/noselect
Fix #42 - Add no-select to buttons
2022-01-23 19:40:55 -05:00
Jarrod Servilla
ebe11eb4a4 Refactor modals to reduce code duplication 2022-01-23 11:43:59 -05:00
David Maíllo
ecb14aa238 Add animation to cell when a new char is inserted
The cells that are filled also get highlighted with a black border
2022-01-23 17:21:21 +01:00
Khemarato Bhikkhu
460ec8facd Make keys buttons 2022-01-23 15:31:27 +07:00
Khemarato Bhikkhu
3024a19b69 Fix #42 2022-01-22 14:17:02 +07:00
Samuel Rey
3723c18616 prevent typing after winning 2022-01-22 01:02:51 +01:00
Hannah Park
e57e1cc391 refactor stats 2022-01-20 21:19:33 -05:00
Hannah Park
d8dfee1e80
Merge branch 'main' into main 2022-01-20 19:49:17 -05:00
Hannah Park
aa51a486e4
Update src/components/statline/statline.tsx 2022-01-20 19:46:36 -05:00
rbrignall
f77d7530a3 Capture note enough letters in guess 2022-01-20 23:16:27 +00:00
jnsturgis
fdd948cf37 Add unique keys to avoid warning 2022-01-20 20:17:28 +01:00
James Sturgis
ce1404fc26
Update src/components/histogram/progress.tsx
Co-authored-by: Hannah Park <70654324+hannahcode@users.noreply.github.com>
2022-01-20 17:24:00 +01:00
James Sturgis
397b232ba1
Update src/components/histogram/histogram.tsx
Co-authored-by: Hannah Park <70654324+hannahcode@users.noreply.github.com>
2022-01-20 17:23:51 +01:00
James
32a3fc268e With working stats modal 2022-01-19 11:31:08 +01:00
James
e30093cd57 Part 1 of dialog OK need histogram 2022-01-18 23:24:22 +01:00
James
fc19abbdf4 Logic and maths working need interface 2022-01-18 18:45:02 +01:00
James
d58fe922fc Oops an error 2022-01-18 15:36:03 +01:00
James
a9318f792c Stats object need dialog and save/restore 2022-01-18 15:34:52 +01:00
James
d617be67ac Adding a stats dialog and persistent data storage and recovery 2022-01-18 11:45:25 +01:00
James
8fc56f011b Added x button to modal dialogs Issue #20 2022-01-17 23:41:46 +01:00
gbear605
5961723d23 Merge branch 'main' of git://github.com/hannahcode/wordle into open-win-modal-on-page-load 2022-01-16 21:22:48 -05:00
gbear605
217f3d8434 Display WinModal on page load 2022-01-16 19:50:52 -05:00
haithamleo
409afb2b7d enhancement: apply prettier 2022-01-16 15:11:27 +04:00
Hannah Park
c8e415c737 fix local storage issue 2022-01-15 20:39:02 -05:00
Hannah Park
b68617ef30 Merge branch 'main' of github.com:hannahcode/wordle 2022-01-14 22:06:07 -05:00
Hannah Park
0ad35f44d6 add local storage, change alerts, add share functionality 2022-01-14 22:05:57 -05:00
Philippe Sabourin
e621515360 Adding keyboard input for the game 2022-01-14 16:44:25 -05:00
Hannah Park
26df4881ea Merge branch 'develop' 2022-01-14 15:39:29 -05:00
Hannah Park
55b3da3d32 update is word in word list logic to include new valid guesses 2022-01-14 15:35:20 -05:00
Hannah Park
519b67e660 update title in metadata and add additional word list 2022-01-14 15:28:40 -05:00
Craig Phillips
a354d41c94 Fixing letter L in the word 2022-01-11 23:55:47 +00:00
Hannah Park
49e2f3de20 fix lint issues 2022-01-10 10:16:12 -05:00
Hannah Park
3edcbb8420 config for deployment 2022-01-10 10:11:17 -05:00
Hannah Park
97b8ac6be4 update readme 2022-01-10 09:49:20 -05:00
Hannah Park
6309359770 edit win modal 2022-01-09 21:58:34 -05:00
Hannah Park
e321441f96 alert for if game is lost 2022-01-09 21:43:58 -05:00
Hannah Park
7d0a4fd758 fix tiny bug 2022-01-09 21:37:12 -05:00
Hannah Park
099b46849c add error message and fix guess status logic 2022-01-09 21:34:50 -05:00
Hannah Park
a33d1c08de make guesses display 2022-01-09 21:02:41 -05:00
Hannah Park
9ecb56dd7e add status to guessed letter keys 2022-01-09 17:06:37 -05:00