Draw a uml diagram for storing a played game of chess in a


Draw a UML diagram for storing a played game of chess in a database. You may look at https://www.chessgames.com for an application similar to what you are designing. State clearly any assumptions you make in your UML diagram. A sample of assumptions you can make about the scope is as follows:

103_cb9f3e92-ce97-4463-8134-95430c2c5539.png

1. The game of chess is played between two players.

2. The game is played on an 8 × 8 board like the one shown below:

3. The players are assigned a color of black or white at the start of the game.

4. Each player starts with the following pieces (traditionally called chessmen):

a. king b. queen

c. 2 rooks d. 2 bishops

e. 2 knights f. 8 pawns

5. Every piece has its own initial position.

6. Every piece has its own set of legal moves based on the state of the game. You do not need to worry about which moves are or are not legal except for the following issues:

a. A piece may move to an empty square or capture an opposing piece.

b. If a piece is captured, it is removed from the board.

c. If a pawn moves to the last row, it is "promoted" by converting it to another piece (queen, rook, bishop, or knight).

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Draw a uml diagram for storing a played game of chess in a
Reference No:- TGS01400001

Expected delivery within 24 Hours