Skip to content

AhmadFaraz-crypto/Country-capital-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Country Capitals Game

I made this Country Capitals Game in Reactjs.

  1. The page button will appear in random order every time the user refreshes the page.
  2. Clicking a button button background color will be blue.
  3. Clicking another button: - Slected button will be removed If a country and capital pair has been selected - Both buttons are background color will be red if a wrong pair has been selected
  4. When there are no buttons left, the message "Congratulations" will appear.

Quick start

  1. Make sure that you have Node.js v8.15.1 and npm v5 or above installed.
  2. Clone this repo using https://github.com/AhmadFaraz-crypto/Country-capital-game.git
  3. Move to the appropriate directory: cd Country-capital-game.
  4. Run npm install in order to install dependencies and clean the git repo.
    At this point you can run npm start to see the example app at http://localhost:3000.
  5. Run npm run clean to delete the example app.

Demo

https://www.youtube.com/embed/HvwksjUVdUk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published