fishtank - simulation of a fish tank
The fishtank is a home to two kinds of fishes. The smaller ones are just fooling around and trying to find something to eat. When they eat some food a new fish is born. Since they are so small and weak they tend to gather in a fish school. The bigger ones are predators and therefore are trying to hunt down the smaller ones.
You can add food to the tank or even new fishes - so try to create a balanced ecosystem.
fishtank is released under the MIT license, see license.txt
- Python 2.6 (or later)
q - quit
c - add a cyan fish
f - add some food for the fish
p - add a predator fish
Small fish:
0< - the fish feels good and is fooling around
X< - the fish just ate something good
&< - the fish is scared to death while running away from a predator
Predator:
0=< - the predator is looking for something tasty
$=< - the predator is in a hunting rush
X=< - the predator just devoured some poor little fish
^=< - the predator is going to sleep as there is nothing to eat
- Shrinking the terminal while fishtank is running will crash the application