Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Objective The objective of this lab is to create a memory game using the wxWidgets library. Game Rules 1. The game board will be a grid of evenly distributed squares. (Look up wxSizer control) 2. Each...

1 answer below »

Objective

The objective of this lab is to create a memory game using the wxWidgets library.

Game Rules

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.

Submission

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.

Answered 4 days After Sep 02, 2022

Solution

Sairama answered on Sep 07 2022
72 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here