Sunday, June 14, 2015

Fish Game

 
 
 
 
 
Simulate swarm behavior of fishes by using Sprite Kit. The features of swarm behavior:
  • Separation – Distance exists between fishes.
  • Alignment – Fishes swim towards the same direction.
  • Cohesion – Fishes swim together as a group.
  • Predator – Fishes will escape when there are predators.
  • Prey – Fishes seek the food. 
Using Artificial Intelligence algorithm, each fish moves forwards to the area where provides best choice(there are fewer fishes and more food; the distance is less).

Here is the report for this project.

No comments:

Post a Comment