Objective
The objective of this lab is to create a memory game using the wxWidgets library.
1. The game board will be a grid of evenly distributed squares. (Look up wxSizer control)
2. Each square has a value attached to it that is shown when as the label when the button is pressed.
3. When two buttons are pressed, the labels either match or they don't.
4. If the labels match, then buttons are locked with the label showing and can no longer be clicked.
5. If the labels don't match, then both buttons are reset to their original state with no label visible.
6. Once all pairs of characters are found, then the game is won.
Hint: You likely need multiple arrays to store the data needed for this lab.
Submit a link to your repository in the response box below. The submitted game should have a 6 x 6 grid, though testing with a larger grid would be a good idea.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here