The player has to pick the correct items in the order shown
Each round adds one random item to the end of the sequence. When the sequence is finished the player has to click on the items in the order shown to pass to the next round.
We have 4 items, lets say: Dog, Cat, Horse and Frog:
- the first round Cat is highlighted and the user should click on Cat to pass to the next round.
- for the second round Cat is highlighted and then Dog, so the user should click on Cat and then Dog.
- for the third round Cat is highlighted, then Dog and then Cat again (because it is random, so items can be repeated), so the user should click on Cat, then Dog and then Cat again to pass to the next round.
This is a video of another example about this game but with colors: youtube video
- Next.js was used for Server Side Rendering and Code Splitting
- Characters are being loaded from Rick and Morty API
- Enzyme was used along with Jest for testing
- Run
yarn install
and thenyarn start
to boot the app at port 8080 - To run tests, run
yarn test