Thursday, August 18, 2011

Guess the Country Game

Country Explorer uses Google Maps Styles to create a very simple but effective game with Google Maps. Using the game you can test your knowledge of the countries of the world by guessing the name of a country and clicking on the map to see if your guess is correct.

Using Map Styles a Google Map has been created without country or other administrative labels. When the map user clicks on the map the Google Maps API geocoder is used to determine which country the user clicks on. The map then loads the name of the country and the country's flag.

The game could be developed a little more by prompting the user to find a particular country and keeping a score of correct guesses. A timer could also be added for each guess to rack up the tension a little.