Newbie creating a domain for a game
| Newsgroups | gmane.comp.programming.domain-driven-design |
|---|---|
| Message-ID | <[email protected]> |
Hi Folks. Tinkered with DDD for awhile now but having an issue with the following for a game management system I'm working on. What I'm trying to accomplish is this: I have a player object and a match object. Two players can participate in a match which will result in a winner and loser. The match object also contains information about match that was played such as how badly one player lost by. What is the best way to model that? I keep coming up with ideas that I can tell just by looking at it - suck. I know there's a right way to do this I just don't have a clue as to what it entails. Any help would be greatly appreciated!