- Create a virtual fish that swims in a tank.
- Rely on the finite state machine provided in the image.
The virtual fish does not need to die.
- When the fish is hungry, it can feed at the bottom of the screen.
- Once the fish has eaten and he is satisfied,
it should explore the top half of the screen.
- You may use the following fish tank components, or you can draw your own.
|

|