The player must avoid the castle, trees and thunderstorm by flying them located in the gap to get the highest…