- Category:
- Other systems
- Tags:
-
- File Size:
- 1kb
- Update:
- 2017-11-22
- Downloads:
- 0 Times
- Uploaded by:
- jiele
Description: 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
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
class_37_homework_01.py | 12056 | 2017-11-17 |