Pikachu-Clicky-Game

Clicky Game – Pikachu Clicky Game

Overview

Objectives

Deployment

Game Rule

Intallation

  1. Clone the git repository
     git clone 
    
  2. Install necessary packages
     npm install
    
    • This app uses the following NPM packages:
       "gh-pages": "^2.0.1",
       "react": "^16.8.3",
       "react-dom": "^16.8.3",
       "react-scripts": "2.1.5"
      
  3. Start the web server
     npm start
    
  4. The web page should open in a browser automatically. If it does not, try entering the following URL into the address bar to start devlopment http web server.
     http://localhost:3000/
    

Directories & Files

src
├── components
│   ├── AppNavbar               -- Navbar React component
│   │   ├── index.js            -- Javascript for AppNavbar
│   │   └── style.css           -- CSS for AppNavbar
│   ├── ClickyItemContainer     -- Clickable items container 
│   │   ├── ClickyItem          -- Single clickable item
│   │   │   ├── index.js        -- Javascript for ClickyItem
│   │   │   └── style.css       -- CSS for ClickyItem
│   │   ├── ItemSrc             -- Image source
│   │   │   └── index.js        -- Data object for the images
│   │   ├── index.js            -- Javascript for ClickyItemContainer
│   │   └── style.css           -- CSS for ClickyItemContainer
│   ├── App.css                 -- css for the App
│   ├── App.js                  -- main game app page
│   └── App.test.js
├── shared
│   └── images
│       └── logo.svg
├── index.css
├── index.js
└── serviceWorker.js

7 directories, 14 files

Game Snapshots

Initial screen.

The Score increses while same images are not clicked.

The Score resets when the same image is clicked. If it’s the highest score, Top Score is updated.