Please enable JavaScript.
Coggle requires JavaScript to display documents.
Game of Azul - Coggle Diagram
Game of Azul
-
Bag
-
method to generate a new bag containing the right quantities of tiles. Also might be worth only allowing say the bag class to generate new tiles so that the other classes can't. This seems to me to be a possible error source if we don't manage it carefully
-
-
-
Player
Player Board
Storage
Row 1
Each row is an array of length corresponding to that row. It seems plausible that the row class should contain methods that used for placing tiles that follow the rules of the game.
-
-
-
-
Mosaic
5 by 5 matrix array seems like it will be the way to go for this. Each element needs to somehow encode the tile that can go there and if it is currently filled or not by an actual tile.
Seems logical that the methods here are the ones for placing tiles that follow the games rules but not 100% sure yet.
should also have methods for calculating round scores and for triggering the end game situation where a row is completed
-
-
-
Player First Token
Somehow make this a unique item that can be passed to both the player class and the Centre class since that is the two places it can go.
-
-
-
-