So what’s all the frenzy towards Pokémon Go? It is a free, location-based augmented reality game developed by Niantic. In this game, players use their mobile device’s GPS ability to locate, capture, battle, and train virtual creatures called Pokémon, which appear on the screen as if they were in the same real-world location as the player.
As the players physically move within their real world surroundings, their avatars move within the game’s map. When a player encounters a Pokémon, it can be viewed either in augmented reality (AR) mode or with a live rendered, generic background. AR mode uses the camera and gyroscope on the player’s mobile device to display an image of a Pokémon as though it were in the real world. Players can take screenshots of the Pokémon they encounter either with or without the AR mode activated.
What’s more interesting is that different Pokémon species reside in different areas of the world for example, water-type Pokémon are generally found near water. The game uses local geographic data to place the Pokémon in appropriate habitats and even takes “climate, vegetation and soil or rock type” into account. Furthermore, the game uses your phone’s clock to track the time, so if you’re out hunting at night, you’re more likely to see fairy or nocturnal types.
So basically, Pokémon Go uses your phone’s camera to place an image of a Pokemon within your surroundings, and the GPS, accelerometer, and compass give the game an idea of which direction your phone is pointing toward.