You are requested to develop a game for children. The game's main objective is to enhance children's object recognition and language abilities. On the left side of the game page, an animal name will be displayed then the player has to click the correct animal image among 16 animals. If the player made the correct choice, the result shows win otherwise lose.
- Randomly selects a target animal.
- Clickable animal grid for matching.
- Displays WIN or LOSE based on selection.
- Refesh the page to restart the game.
=======
-
Clone the repository:
git clone https://github.com/Maleesha2001-malee/IT3133-Assesment_04.git cd animal-matching-game -
Install dependencies:
npm install
-
Start the app:
npm start
-
Open the app in your browser: http://localhost:3000
- Game: Manages state, target selection, and results.
- AnimalCards: Renders the clickable animal grid.
- Result: Displays the result and restart option.
- React.js
- CSS
- JavaScript