{"id":22194894,"url":"https://github.com/gemmus/flightgame","last_synced_at":"2026-04-02T02:51:04.037Z","repository":{"id":111941340,"uuid":"568339480","full_name":"Gemmus/FlightGame","owner":"Gemmus","description":"Project: A travel based game set in Europe using actual location and airport data, and real time weather. ","archived":false,"fork":false,"pushed_at":"2023-05-15T08:25:14.000Z","size":3412,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T14:38:18.086Z","etag":null,"topics":["api","css","flask-cors","html","javascript","json","leafletjs","pycharm","python","sql","weather-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gemmus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-20T07:58:58.000Z","updated_at":"2023-05-11T16:03:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"f41b6bda-3f2d-46c3-acaf-26d788db0092","html_url":"https://github.com/Gemmus/FlightGame","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Gemmus/FlightGame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gemmus%2FFlightGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gemmus%2FFlightGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gemmus%2FFlightGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gemmus%2FFlightGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gemmus","download_url":"https://codeload.github.com/Gemmus/FlightGame/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gemmus%2FFlightGame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001508,"owners_count":26083118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","css","flask-cors","html","javascript","json","leafletjs","pycharm","python","sql","weather-api"],"created_at":"2024-12-02T13:15:03.909Z","updated_at":"2025-10-09T14:38:18.807Z","avatar_url":"https://github.com/Gemmus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flight Game Project \n\nA 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. \n\nFor 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\nthe 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.\n\nThe real time weather condition of the selected locations is provided by [WeatherAPI](https://www.weatherapi.com/docs/). \n \n\u003ch2\u003e First Phase: Prototype \u003c/h2\u003e\nProgramming language: python, IDE: PyCharm.\n\nUser 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.\n\n\n![image](https://github.com/Gemmus/FlightGame/assets/112064697/cce1af53-2684-4c57-994c-bf8b219cd3e6)\n\u003cbr\u003e\u003ci\u003eFigure 1. Example of console output: Guessing one of the right secret location and winning the game\u003c/i\u003e\n\nPrototype has two versions: Fairweather_Tourist.py has no implementation of real-time weather, while Fairweather_Tourist_with_API.py has.\n\n\u003ch2\u003e Second Phase: User-Friendly Interface and Real-Time Weather\u003c/h2\u003e\nImplementation of Flask Cors, HTML, CSS, JavaScript parts, map as visual and real-time weather condition:\n\n\u003cli\u003eBack-end: Python, SQL database, WeatherAPI, Flask Cors.\u003c/li\u003e\n\u003cli\u003eFront-end: HTML, CSS, JavaScript, \u003ca href=\"https://leafletjs.com/\"\u003eLeaflet\u003c/a\u003e.\u003c/li\u003e\n\n\nThe user plays the game using web browser and mouse.\n\n![image](https://github.com/Gemmus/FlightGame/assets/112064697/3214b3c7-8f6a-432b-9577-7235f272d168)\n\u003cbr\u003e\u003ci\u003eFigure 2. User Interface via Browser\u003c/i\u003e\n\nScoring is based on the combinations of weather targets and secret locations. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemmus%2Fflightgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemmus%2Fflightgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemmus%2Fflightgame/lists"}