This repository contains the implementation of a classic memory game. The game allows two players to compete against each other or for a single player to challenge the computer. It provides an interactive and entertaining experience for players of all ages.
A deck of 20 cards is placed face down, and the objective of the game is to uncover pairs of matching cards from the shuffled deck. By memorizing the positions of the cards and recalling their locations, players aim to make successful matches and accumulate sets. The player with the most cards at the end of the game wins.
-
Two-player mode: Players can compete against each other to find the most sets. Turns alternate between the players, and each player can flip over two cards per turn.
-
Single-player mode: Players can challenge the computer, which attempts to find matching cards by following a specific algorithm. The computer's strategy adds an extra layer of challenge to the game.
-
Interactive UI: The game provides a user-friendly interface with intuitive elements, such as a toolbar, score labels, and message bars, to enhance the gaming experience.
-
Dynamic game process: The game starts when the player clicks the "Start" button. The UI elements update accordingly, and players take turns flipping cards. Once all the cards have been matched, the winner or a tie is announced.
For the full spec see specs in repo
