@@ -0,0 +1,728 @@
+import dragon%0Aimport game%0Aimport weather%0A%0Aiterations = 1%0Awins = 0%0A%0Agame_client = game.Client()%0A%0A# Repeat from step 1 specified amount of times%0Afor i in range(iterations):%0A    # 1. Fetch new game from game API%0A    game_client.request()%0A%0A    # 2. Fetch weather from %22third party%22 weather API%0A    weather_client = weather.Client(game_client.params%5B'gameId'%5D)%0A    weather_client.request()%0A%0A    # 3. Solves the game by selectively distributing 20 points on a dragon stats%0A    dragon = dragon.Dragon(weather_client.weather%5B'code'%5D)%0A%0A    # 4. Sends the response to solve API%0A    result = game_client.send_solution(dragon.get_json())%0A%0A    # 5. Logs down results somehow%0A    print(result)%0A%0Aprint('Success rate: ' + str(wins/iterations))%0A

Implement main program