DEV Community

Cover image for I just created a Google Earth Game with React, JSON and MaterializeCSS
Fernando Comet
Fernando Comet

Posted on

1

I just created a Google Earth Game with React, JSON and MaterializeCSS

How many images are you able to match?

I took a JSON with info from different Google Earth aerial photos. So, this JSON is an Array of objects, each one has:

  • id
  • Country
  • Region
  • image
  • lat/lan

Then I load a random item, make an array with three more countries from a set and make the quiz.

You can see the project running at Netlify: https://googleearthquiz.netlify.app

For the code, it is in Github: https://github.com/fernandocomet/googleearthgame/

I Built it with #React mainly playing with props and State

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More