Skip to content

A React clone of the game wordle (for learning purposes - don't sue me NYT)

Notifications You must be signed in to change notification settings

ingadi/wordle-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8dbcfe1 · Mar 20, 2023

History

25 Commits
Mar 20, 2023
Feb 12, 2023
Mar 20, 2023
Mar 1, 2023
Feb 12, 2023
Mar 19, 2023
Feb 12, 2023
Mar 20, 2023
Mar 20, 2023
Mar 1, 2023
Feb 12, 2023
Mar 1, 2023

Repository files navigation

Wordle

A React clone of the game wordle (for learning purposes - don't sue me NYT)

Demo.

Project Structure


├── components
│   ├── Navigation 		<- Renders the 'wordle' title
│   ├── Cell			<- Renders a single letter input.
│   ├── Row 			<- Renders every cell and shows game states (loose, win, errors) for a single row
│   ├── Grid			<- Renders every row
│   ├── Keyboard 		<- Renders the qwerty keyboard
│   ├── Notification <- Renders a tooltip to show game states (loose, win, errors) textually
│   └── Wordle 			<- Renders the Grid and Keyboard
├── types 			<- TypeScript types.
└── hooks
    ├── useGuesses.ts 		<- Logic for tracking guesses
    └── useKeyPress.ts 		<- Capture all key presses, returns key values

Component Tree

Loading
graph TB
A((App))-->B((Wordle))
A-->C((Navigation))
B-->D((Notification))
B-->E((Grid))
B-->F((Keyboard))
E-->G((Row))
G-->H((Cell))

Releases

No releases published

Packages

No packages published