CodeBase - Shoal!

Return to the CodeBase listing

Category: 2D

Version: 1.0

0
0

Information

Uploaded: 28th Nov 2006 07:08

Modified: 1st Jan 1970 01:00

Author:  napier

Summary

Fish simulator (n is the number of fish, try 100)

Full Description

This game is more or less a practise at making fish brains. There are a whole bunch of fish that, if left to their own devices group into shoals and swim around. The player is a shark (or a circle with a line on it) which is avoided by the fish. The startup screen requires an input for the number of fish. Each fish can have its own personality, the level of which can be set by changing the freewill# variable. The distance from the fish that the shark must be to scare them is defined by fr#. l# controls how they respond to the other fish.

Comments

No comments yet.