metaloph1l / pacman

2 stars 1 forks source link

Game Data Design (Statistics and Settings) #5

Open metaloph1l opened 12 years ago

metaloph1l commented 12 years ago

Design should contain model for statistics that are saved throughout several games, and specific (client-side) settings (e.g. resolution)

lanoxx commented 12 years ago

We should create a package named domain with the following domain objects (Classes):

For the client settings (e.g. Resolution) I think we dont actually need a separate class, we can just save it in a properties file and read it during program startup.

metaloph1l commented 12 years ago

Imho it is not that simple. There is a little bit of a mixup between this issue and issue #1. I've already taken issue #1 and put some work in it.

Issue #1 contains the labyrinth itself (or playing field, whatever you prefer) and the pacmans. What I did already try to work out of the exercise description is the following:

This issue:

lanoxx commented 12 years ago

Did you see the UML stuff I have uploaded to git? I used a little different terminology but it is still similar. Board would be Labyrinth and Piece would be Pacman

metaloph1l commented 12 years ago

Yeah, I just noticed it now and did have a slight look at it. Great job you did there. Other than the terminology it seems quite similar.

However I have noticed two things:

lanoxx commented 12 years ago

I have uploaded a communication diagram outlining the design of player and square. I think the connection between player and board is useful to get the next square based on the current square and the direction, since the board is the expert for that. I have explained that in more detail in the UML.

lanoxx commented 12 years ago

As this issue is actually about settings and statistics, so I have updated the issue title. See Issue #1 for Domain Model discussion.