@@ -352,11 +352,11 @@ def perform_prey_actions(
352352
353353 For prey the rules are:
354354 1. At each chronon, a prey moves randomly to one of the adjacent unoccupied
355- squares. If there are no free squares, no movement takes place.
355+ squares. If there are no free squares, no movement takes place.
356356 2. Once a prey has survived a certain number of chronons it may reproduce.
357- This is done as it moves to a neighbouring square,
358- leaving behind a new prey in its old position.
359- Its reproduction time is also reset to zero.
357+ This is done as it moves to a neighbouring square,
358+ leaving behind a new prey in its old position.
359+ Its reproduction time is also reset to zero.
360360
361361 >>> wt = WaTor(WIDTH, HEIGHT)
362362 >>> reproducable_entity = Entity(True, coords=(0, 1))
@@ -383,14 +383,14 @@ def perform_predator_actions(
383383
384384 For predators the rules are:
385385 1. At each chronon, a predator moves randomly to an adjacent square occupied
386- by a prey. If there is none, the predator moves to a random adjacent
387- unoccupied square. If there are no free squares, no movement takes place.
386+ by a prey. If there is none, the predator moves to a random adjacent
387+ unoccupied square. If there are no free squares, no movement takes place.
388388 2. At each chronon, each predator is deprived of a unit of energy.
389389 3. Upon reaching zero energy, a predator dies.
390390 4. If a predator moves to a square occupied by a prey,
391- it eats the prey and earns a certain amount of energy.
391+ it eats the prey and earns a certain amount of energy.
392392 5. Once a predator has survived a certain number of chronons
393- it may reproduce in exactly the same way as the prey.
393+ it may reproduce in exactly the same way as the prey.
394394
395395 >>> wt = WaTor(WIDTH, HEIGHT)
396396 >>> wt.set_planet([[Entity(True, coords=(0, 0)), Entity(False, coords=(0, 1))]])
0 commit comments