View Code? Open in Web Editor
NEW
A memory card video-game written on JavaScript with React runnable as a web application on any browser of choice.
Home Page: https://francislangit.github.io/rememoji
License: MIT License
HTML 2.14%
JavaScript 76.78%
SCSS 21.08%
rememoji's People
Contributors
Watchers
rememoji's Issues
Such variables depend on the following:
- The game is lost when an emoji is clicked on twice.
- The game is won when all emojis are clicked on without any one of them being clicked on twice.
- The score is incremented by one point whenever an emoji not previously clicked on is clicked on.
Based on such variables, the application must:
- Display something if and when the user wins or loses.
- Reset itself, thereby rendering a new set of emojis, when the user exits out of a win or lose screen.
Such must be a minimum of 2 and a maximum of 30. Additionally, the game must restart whenever a new number of emojis is initiated by the user.
The useEffect
hook may be applicable here.
It may be applicable to have such constructed through a self-updating state array.
- Run
create-react-app
to set up the repository's React dependencies.
- Remove unnecessary boilerplate made by
create-react-app
.
- Set up usage of SASS with React.
The component must have such emojis saved within a state array.
Create a README.md
file, update the project's GitHub repository sidebar, and deploy it to GitHub pages.
Make the web application aesthetic enough for public release.