Ideas For The Reader¶
The game is visually bare. Here are some ideas on how you could make further changes to enhance it:
The tiles could have rounded corners, to look less sharp. Use the border-radius property of Rectangle to achieve that.
In real-world memory games, the back of the tiles often have some common graphic. You could add an image with the help of another Image element. Note that you may have to use Rectangle’s clip property element around it to ensure that the image is clipped away when the curtain effect opens.
Let us know in the comments on Github Discussions how you polished your code, or feel free to ask questions about how to implement something.