Repository files navigation
Which knowledge from GRASP were applied ?
BoardView creates Board
Player creates Piece
Board knows about Square object.
Player knows about Piece object.
Game knows about the turn because it knows about all of players.
Game should be connected to UI layer (GameActivity) because from sequence diagram UI is never touch models directly. It's only touch Game.
Board should be connected to UI layer (BoardView) because BoardView is never touch Square directly. It's only touch Board.
AbstractDie in an abstract-class for type of Die. And DieCup just knows all type of die in only AbstractDie.
AbstractDie is protects Die's information by using abstract-class.
GameActivity send number of players to Game and then Game create the Player. When Played has changed then it will not impact to GameActivity.
7. High cohesion (Focus in the thing that it should doing)
Die (roll)
Piece (set and get position)
DieCup should sum the total of face from dice.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.