No description
Find a file
2022-01-09 21:43:58 -05:00
public Initialize project using Create React App 2022-01-08 13:21:04 -05:00
src alert for if game is lost 2022-01-09 21:43:58 -05:00
.gitignore Initialize project using Create React App 2022-01-08 13:21:04 -05:00
package-lock.json add game logic and winning modal 2022-01-09 16:04:33 -05:00
package.json add game logic and winning modal 2022-01-09 16:04:33 -05:00
postcss.config.js build keyboard and guess state 2022-01-08 18:35:47 -05:00
README.md build keyboard and guess state 2022-01-08 18:35:47 -05:00
tailwind.config.js build keyboard and guess state 2022-01-08 18:35:47 -05:00
tsconfig.json Initialize project using Create React App 2022-01-08 13:21:04 -05:00

word that updates as you type within the active row once entered, you want to store the whole word in an array full of all the guesses so far. ["treat", "races", "", "", "", "" ] currentRow = 0 and increments once you guess a word, the status of the letters is stored. That updates the appearance of the keyboard, and also the color of the cell in the word row. after you guess a word, the next row is "unlocked" or the active row that you are now working in. You can input letters starting at the furthest left, as the row is filled, the "active" cell moves one to the right. If you delete a letter, the cell to the left is emptied and becomes the current cell. If you hit enter before all cells are filled, it errors out If you guess a word that isn't in the words list, it errors out.