Suggestions for lab 7
Additional proposals may appear ...
A UML class diagram must be demonstrated for lab 7
- Add functionality to the lab 6 web reader with
- The extra assignment for labb6, unless you already did it!
- Forward button and backward button. They should work as expected!
If no pages are available for going forward or backward, this should be
indicated on the buttons.
- Bookmarks.
- Must be displayed sorted or sorted on request by the user.
- User must be allowed to name the bookmarks, when created or by an
edit facility.
- It must be possible to delete bookmars.
- When the web reader is closed and restarted, the bookmarks must be retrieved.
Do not put all the new code in the same class as the web reader in the basic assignment !!!
- Net game: Write a program that runs a simple two-player game
(e.g. Tic-tac-toe or Othello) over internet. Two players using different computers
must be able to play against each other.
- Spel: Write a program for a game not run over internet. The game
must be more complicated than the internet games in the previous assignment.
The game may contain continuous movement using
javax.swing.Timer or
a Thread . This is not required.
- Piano: Make a virtual intelligent piano.
The piano-file is so far only available in swedish.
- Chess board: Write a program for an "intelligent chessboard".
The program must
- Display a chess board with chess pieces.
- Know the chess rules but not actually play.
- Keep track of if black or white is next to move (and only allow the correct one).
- Perform correct chess moves requested by the user.
The user clicks on a start square and a destination square. If the move is allowed,
it will be performed and otherwise, an error message is given.
- Remove captured pieces from the board.
The idea is that two players play with the program as their board. The board will only perform
correct moves, allowing white and black alternatively.
- Propose your own assignment. The proposal must be approved in advance by the course
leader.
|