Concentration, also known as Matching Pairs, Match Match, Match Up, Memory, Pelmanism, Shinkei-suijaku, Pexeso or simply Pairs, is a card game in which all of the cards are laid face down on a surface and two cards are flipped face up over each turn. The object of the game is to turn over pairs of matching cards.
- using all hooks studied
- using this api to get images api
- Game should have a win mechanism
- Game should have a limit turns
- Game should have a Play again Feature:
- Be as Creative as you can having a good UI/UX is import
-
Use
create-react-appfor the boilerplate react app. -
depending on what flow to take
- Follow the component container pattern, so your two main folders inside the
srcwill be thecomponentsfolder that will contain your components andcontainersthat will contain container components. You can read more about container components here or you can ask you team leader about it for more clarity. - similar concept you can use the component page take a look here
- Follow the component container pattern, so your two main folders inside the
-
Use
scssinstead of css if you going withreact-bootstrap -
You can use
postcssif you are going with another library that uses something liketailwind -
Global style variables will be inside a
stylefolder inside thesrcinside a_variables.scss.If you are usingreact-bootstrapthis can come in handy! -
The main folder names inside the
srcshould be lower case likecomponentsandcontainer or pagesother folders inside them should be TitleCase likeProgressBarand files inside these folder will be TitleCase too likeProgressBar.js.If you need styles then add them with the same.jsfile name likeProgressBar.scss
Your project hierarchy should look something similar to this:
.
├── src
├── components
├── ProgressBar
├── ProgressBar.js
├── ProgressBar.scss
├── containers
├── About
├── ContactForm.js
├── About.js
├── style
├── _variables.scss
- All dependencies inside the
package.jsonshould be used in the project. - It's recommended to use Yarn to install the packages.
- General use images should be inside a folder inside
srcunderimagesand try to usesvgas much as possible. Component specific images should be under their folders. - You should have prettier extension installed and make sure your code is well formatted before submitting it.

