Android CS323 Cornez

Lab 8: Background Threads and Finite States

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