Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Assignment4

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.


Features

  • Randomly selects a target animal.
  • Clickable animal grid for matching.
  • Displays WIN or LOSE based on selection.
  • Refesh the page to restart the game.

=======

Installation

  1. Clone the repository:

    git clone https://github.com/Maleesha2001-malee/IT3133-Assesment_04.git
    cd animal-matching-game
  2. Install dependencies:

    npm install
  3. Start the app:

    npm start
  4. Open the app in your browser: http://localhost:3000


Components

  1. Game: Manages state, target selection, and results.
  2. AnimalCards: Renders the clickable animal grid.
  3. Result: Displays the result and restart option.

Technologies

  • React.js
  • CSS
  • JavaScript

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages