This is a simple game created using React. The application renders different images (of your choice) to the screen. Each image listens for click events.
The application keeps track of the user's score. The user's score is incremented when clicking an image for the first time. The user's score is reset to 0 if they click the same image more than once. Once the user's score is reset after an incorrect guess, the game restarts.
Every time an image is clicked, the images rendered to the page shuffle themselves in a random order.
You can access a hosted demo here: https://geochanto.github.io/react-click-game/
- Javascript
- React
- Reactstrap & Bootstrap
To get started with this project, do one of the following:
-
Using git from command line,
git clone git@github.com:geochanto/react-click-game.git
-
Download the zip archive: https://github.com/geochanto/react-click-game/archive/master.zip
-
Create a fork at https://github.com/geochanto/react-click-game