Fish vs. Sharks: An Ecosystem Battle

Game Rules:

General Rules:

Explanation:

The simulation runs on a 20x20 grid, with fishes and sharks moving and interacting according to specific rules. The fishes move randomly and breed when they meet another fish. The sharks move randomly and eat fishes they encounter. Sharks breed when they meet another shark.