A travel based game project that is implemented in two phases. The game allows the user to travel in Europe with limited CO2 budget to reach weather targets and guess the secret locations. Each hidden location is presented with a riddle.
For travel destinations, an open source SQL database is utilized which contains all the available airports in the world. For the project, only the large European Airports were selected. MariaDB is used as the tool for database implementation during the design of the game. With the altitute and the longitude of the aiports, the travel distance between two airports are calculated along with the rough estimation of CO2 consumption.
The real time weather condition of the selected locations is provided by WeatherAPI.
Programming language: python, IDE: PyCharm.User interaction only via IDE. All rules and information is displayed through the console of the IDE and the user provides input via the same platform using keyboard.
Figure 1. Example of console output: Guessing one of the right secret location and winning the game
Prototype has two versions: Fairweather_Tourist.py has no implementation of real-time weather, while Fairweather_Tourist_with_API.py has.
Implementation of Flask Cors, HTML, CSS, JavaScript parts, map as visual and real-time weather condition:The user plays the game using web browser and mouse.
Figure 2. User Interface via Browser
Scoring is based on the combinations of weather targets and secret locations.