CSE 335 - Project 1

Team Members

Team Name

Individual Responsibilities

Instructions for Use

Fish can be added using the menu option "Add Fish". There are three different types of fish that can be added: molly, beta, and nemo. These fish will swim around the aquarium and turn around once they reach the end of the aquarium. Scrolling can be enabled which shows more of the aquarium that cannot be viewed in the default window size. Clicking on the hand in the lower left corner enables scrolling, which is shown with the hand lighting up. Once enabled, clicking on the background and dragging to the right or left will move the view to other parts of the aquarium. Fish can be copied by pressing control and clicking on the fish to be copied. The animated treasure chest and the bubbles cannot be copied. To delete a fish,the user must first click on File and then Trash Can, which will create a trash can in the upper-right corner of the screen. Clicking on a fish, dragging the mouse over the can and releasing the left mouse button will cause a fish to be deleted from the aquarium. A treasure chest decor item can also be added to the aquarium by clicking Add Decor and Treasure Chest. This can also be moved, copied, and deleted. The File menu option also has other options such as: open, save as, about, count beta fish, and exit. The count beta fish option located in the File menu counts the number of beta fish that are currently in the aquarium. Aquarium states can be saved for later use and then opened using their respective File options. About displays basic information about the application and what it does. Exit simply closes the program. There are three other features to the aquarium which are Treasure Chest, Reporting, and Environment, which are outlined in the section below.

Interface Decisions

Fish will now be instantiated in the center of the screen that the user is currently viewing instead of having them appear in the center of the original viewing screen. There are new elements added to the aquarium: Reporting, Environment, and Treasure Chest.

The Reporting task implements a window that pops up when the aquarium loads and displays information about the current state of the aquarium to the user. It shows the number of each type of fish that can be in the aquarium, the status of the background, and the time since the fish were last fed. If the fish have not been fed, it displays, "fish never fed".It also clears the window of any text that is currently in it before it displys the updated report. In other words, there is only one copy of the report in the window while the values are updated every 30 seconds.

The Environment task changes the background of the aquarium after a certain ammount of time. There are three different backgrounds that can be displayed. Clean, dirty, and filthy. The user can reset the background to clean by clicking on Care and then Clean Tank. Environment also includes fish feeding to the aquarium. Each of the three types of fish (beta, molly, and nemo) have a different rate at which they get hungry. If the fish have not been fed and they become hungry then the fish will die and disappear from the aquarium.

The treasure chest task implements a animated treasure chest that is drawn on the screen when the aquarium is instantiated . The chest will remain closed for a short time, then open, and do so for a short period of time. Once the chest has opened all the way, air bubbles will come out of it and float up to the top. The chest can be moved around and the bubbles will be created wherever the chest is upon being fully opened.

Project 1 - Part 2


OBJECTIVE: Get as many points as possible in the allotted time. Earn points by selling fish. Sell a fish by dragging it to the money bag in the upper-left corner. Betas earn you 4 points, Mollies earn you 24 points, and Nemos earn you 200 points (Caveat - see FOOD). Purchase fish with points in order to sell them. Betas cost 1 point, Mollies cost 100 points, and Nemos cost 1000 points.

MULTIPLICITY: When you sell a fish, you get points for the fish you sold, plus points for every other fish in your aquarium. So If you have 3 Betas, 2 Mollies, and a Nemo, and you sell a Molly, you will get 12 + 48 + 200 = 260 points. This lets Mollies and Nemos make up for their cost over time.

FOOD: A purchased fish starts hungry. Hungry fish will soon die without food (5 point penalty), and if sold, won't gain you any points, regardless of the other fish in the aquarium. 1 food always costs 1 point. Purchase food in denominations of 1, 5, or 10. Then, that much food will appear randomly in the aquarium. Drag it over a hungry fish, and it will highlight, indicating it is fed. You may then sell it for points. When sold, all other fish are counted for points, regardless of their hunger.

ENVIRONMENT: The aquarium dirties over time. When dirty, point gains are halved. When filthy, point gains are quartered. Clean the tank (costs 10 points) to eliminate this penalty.

CHESTS: 2 chests occasionally open briefly. When this happens, click them rapidly to gain 10 points per click. Purchase decor chests (costs 50 points) to increase this by 10 points per decor chest.