Memory game - Laying out the cards
The game is really easy and quiqk to create.
Laying the cards is controlled through the choice "Position the cards in a square":
- if checked, it "Will try to match the number of columns and rows when laying out the cards. Afterward, the cards will be scaled to fit the container".
When we have many cards, it will lay out some cards out of the screen . Making the game difficult to play
- if unchecked, it will scale the images appropriately to lay the cards in rows.
But they might be smaller than needed and not evenly distributed in the rows.
- instead of the choice "Position the cards in a square" we would have
- "Number of rows to position the cards"