Abstract:Aiming at the water transportation project of the URWPGSim2D new simulation platform, put forward an optimization strategy based on the common game strategy to finish the task efficiently. In the strategy, the direction algorithm and the algorithm of the shortest movement distance of the robot fish are designed. A variety of algorithms and functions are used to dynamically analyze the motion path of the fish, and star-shaped mesh judgment is adopted to consider various situations to avoid the mistakes to the greatest extent. The experimental results show that the strategy can complete the task efficiently, which greatly shortens the time of completing the game and greatly improves the stability of the strategy.