Live link - https://match-the-flag-aemro.netlify.app/
Welcome to Match the Flag, an interactive and educational game where you can test your knowledge of world flags. This game challenges you to match country flags with their respective names and provides a library section to explore more about countries.
Start the Game: On the homepage, click the "Start" button to begin the game.
Match the Flags: You'll be presented with four images of country flags and four country names. Your goal is to match the correct flag with its corresponding country name. Click on a flag, and then click on the name you believe is correct.
Scoring: The game keeps track of your wins and high score. Try to achieve the highest score possible!
Three Lives: You have three lives. Be careful, as incorrect matches will deduct one life. If you lose all your lives, the game is over.
Library: Explore the "Library" section to view information about countries, including flags, country names, capitals, continents, and populations.
- HTML
- JavaScript
- Parcel (JavaScript bundler)
The game retrieves country information from an API to display flags, country names, capitals, continents, and populations. This ensures that the game stays up-to-date with the latest country data.
- Clone the repository to your local machine
- Install dependencies
- Start the development server
- Open your web browser and navigate to http://localhost:1234 to play the game.
- Aemro Bekalu
- GitHub: https://github.com/aemrobe
This project is licensed under the MIT License. See MIT License for details.
Special thanks to https://restcountries.com/ for providing the country data.
also thanks to JavierLMB: https://github.com/JavierLMB he first created this game and I have recreated it.
Enjoy playing the game and exploring the world of flags and countries! If you have any questions or feedback, feel free to reach out.
