gps_chung is an open source GPS algorithm program for games written in freebasic. It calculates the shortest way path from start to end out of an array of road segments (position, direction) . Source code gps_chung.bi is included as example in a small application game garden_chung (freebasic) simplified version of circuit_chung road circuit game with random map generation , home garden edit and TTS text to speech voices. Path is shown on display map , voice indicates the way .
click here => http://chungswebsite.blogspot.fr/search/label/gps_chung