Public
Like
thinkalittlelonger
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v5View latest version
help me create make this word game.
React Components:
- Header
- Prompt
- CurrentGuess
- Cursor
- keyboard
- key
gameState: [preGame, inGame, postGame]
inGame: currentRound currentGuess cursorPosition
- The keyboard component should always be up when gameState=inGame
- It should fill the bottom third of the screen on mobile
- Follow QWERTY layout, but only have keys for
- the 26 Letters in the alphabet
- to the left of Z, there should be a key with a trash icon. The trash button delete's the currentGuess.
- to the right of M, there should be left and right arrow keys.
- Keys should have an isSelectable property, unselectable keys should be indicated visually in css, but by default all keys are selectable.