When I want to play the game, it only prints the Rotationpoints of the piece but the rest works. My PieceComponent shows the right Pieces. This is my viewComponent when I want to play it:
And this is my pieceComponent:
If you look at the components, you see that
PieceComponentlooks at the array of every piece and draws them
- All other components draw the board’s content.
Therefore, you probably do not set the board array correctly.
Try to write tests where you add pieces and check if the correct elements of the board are set to the correct type.