David's Computer Programs

Assignments
Name Description
Change Our first assignment: takes a price and a tendered amount as inputs and writes the change in dollars, quarters, dimes, nickels, and pennies.
Dice Our first graphical assignment: roll and draws a pair of dice
Palindrome Takes a sentance or phrase as input and tells whether it is a palindrome or not. The program ignores capitalization, spaces, and punctuation.
Fish Draws a collection of fish with random sizes, colors, and locations.
FishSort Draws a collection of fish first from right to left and then from top down.
Final My final project: draws an animated aquarium of fish that swim around, mate, and produce baby fish, where the baby fish has the average color of the parents. Fish die eventually and float to the top of the tank.

Side Projects
500 My work in progress to simulate 500. Currently shuffles and deals (graphically) hands and makes bids for the computer hands.
Turtles Another work in progress involving several different items, including rolling dice, dealing cards, and a graphic display.