DEV Community

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

Posted on

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)