Introduction - If you have any usage issues, please Google them yourself
Prepared a python game, the turtle to eat fish:
Assuming that the game scene range is (x, y) both [0, 10]; the game produces one turtle and ten fish; both move in random directions; the turtle has a maximal moving capacity of 2 (which can be 1 or 2) The ability to move to 1; automatically move to the opposite direction when moving to the edge of the scene; turtle initial physical capacity of 100 (upper limit); turtles for each move a physical expenditure 1; turtle and fish coordinates coincide turtle fish, turtle physical augmentation 20; Excluding body strength; when the tortoise is 0 or the number of fish is 0 The game is over