FLOCKS: USER’S MANUAL
To
Run the Program:
To
run the program, simply type Java Main. (Assuming the program has been compiled
correctly)
Output
Expected:
A Window should open, with a
blank white canvas. Clicking on the canvas (multiple times if desired) right
now creates a flock of birds that starts out in a V Shape flying across the
screen. As of right now, the only rule
in place is that the birds start out as a flock, but when they hit a wall, they
go in the opposite direction of the coordinates with which they are flying,
which is to say, still with the flock but not necessarily in a V formation. Multiple flocks can be created, as of now,
but flocks don’t know about each other, and thus ignore each other during
flight.
Error
Control
The User doesn’t at the
moment have the opportunity to create errors, and all errors which could be
exceptions at the moment are being caught in try and catch blocks in the code.
Features:
The Flock leader is a
different color than those of it’s flock…the flock flies behind the leader, but
currently doesn’t do much else.
Features
for later release:
Later on, there will be
radio buttons for creating flocks and individual birds, and the birds will be
able to join up a flock or fly by themselves depending on the button and the
rules created for each one. Maybe better graphics as well? The project moves towards
completion.
Misc: