marcosgabarda/2apl-upc-project

Data Coupling Diagram issues

Opened this issue · 1 comments

Description:

1. There is no db containing the subscribed (registered) players in the 
system. If we admit also players to be queued there should be also one for 
them.

2. The player role should be aware of its score and others player's scores.

3. The counting points role should write the score, instead of reading it.

4. The updating score role is supposed to change the score board over 
several games. We need a different db: points db for the current game 
score, score db for score over several games.

5. Identify the dealer role and release the player role are not connected 
to any db.

Proposed change:

1. Change the position db in subscribed players with position db.

2. Add the player role to read from the score db.

3. Channge couting points role to write to the score db instead of reading 
from it.

4. Change the name from score db to points db. Update score role reads from 
the points db and write to the score db.

5. Connect identify the role db and release the player db to the subscribed 
with  position db.

Original issue reported on code.google.com by fde...@gmail.com on 6 Jan 2010 at 10:52

Change 1 only have sense if we add the agents proposed in issue 6. In the 
current
approach, the position (it's a belief) is used by the NPC to manage the turn
selection (according to the order). 

Changes 2, 3 and 4 are ok and done.


Original comment by cybers...@gmail.com on 6 Jan 2010 at 11:41