This repository contains a Java implementation of the popular card game Set. The game is designed to run using the Processing framework, providing an interactive and visually appealing user interface.
Set is a card game where the objective is to identify sets of three cards that satisfy a specific set of rules. Each card has four features: shape, color, number, and shading. A set consists of three cards in which each feature is either all the same or all different across the three cards.
To play the game, follow these steps:
- Launch the application using Processing.
- The game board will be displayed, consisting of a grid of cards.
- Examine the cards on the board and look for sets of three cards that meet the criteria for a valid set.
- When you identify a set, click on the three cards to select them.
- If the selected cards form a valid set, they will be removed from the board, and you will earn points.
- If the selected cards do not form a valid set, a message will be displayed indicating that it is not a set, and you will lose points.
- If you are stuck, simply click "Find Set", but points will be deducted as a result.
- The game will automatically generate new cards to replace the ones removed.
- Continue finding sets and earning points until there are no more valid sets on the board.
- The game will end, and your final score will be displayed.
To run the Set Game, you need to have the following:
- Java Development Kit (JDK)
- Processing framework
To install and run the Set Game on your local machine, follow these steps:
- Download the ZIP file and extract it.
- Make sure you have the Java Development Kit (JDK) installed on your system.
- Install the Processing framework by following the official documentation: Processing.org/download
- Open the project in Processing.
- Click on the "Run" button to launch the game.