Assignment 6
In this assignment, you should invent a small application of some sort.
Decide on what you want to do, come up with a design and write it.
Your application should be a Windows form application, and you should make use
of some of the topics we have encountered in the course. Don't be too ambitious;
you only have a limited amount of time. (If you decide you really want to do a
Console application instead, ask about this; it might be okay.)
Be sure to document your work thoroughly, including a statement of what your
application is supposed to do, how a user will interact with it and any details
of special importance.
We are looking for a good quality of work here. For instance, if there are
exceptions that might occur, you should anticipate and handle them.
You have a lot of choice here; probably people will have entirely different
ideas.
Here are some possible ideas. No one is required to use any of these.
- Provide a personal database for information such as names, telephone
numbers, addresses, e-mail addresses and dates. (This may be too much
like Assignment 3. How can you make it more interesting? Include small
photographs of people?)
- Provide a way to do some financial calculations involving loans or investments:
an initial amount, a rate of interest, how often interest is calculated, periodic
payments (and how often), and a total after an amount of time. (Perhaps display
results in a chart.) You can find formulas for such calculations on various
web sites.
- Implement a game. This should be neither too simple (two-dimensional Tic-Tac-Toe
or binary guessing) nor too complex (chess). Possibilities might be something
like Gomoku (on a small board), Battleship (small board), Mastermind, solving a maze,
various puzzles or a memory game. (There are lots of other possibilities.)
- Invent something educational. One idea might be this: Use graphics to draw a
rectangle and fill it with a randomly-generated color, and a second rectangle,
blank. The user supplies small integer values (on text boxes, perhaps) for Red,
Blue and Green. The idea is to match the color in the first rectangle. Score
it by how long (elapsed time) the user takes to be more or less correct. Another
idea is to teach vocabulary in some language using words and pictures.
If you decide on one of these last two, provide a way to save the current state of
the game or lesson to a file so the user can exit, start over, reload the file
and continue exactly where he or she stopped.
When you are done, submit this as usual.