Welcome to the Set Card Game! This project implements the popular card game "Set," where players compete to identify sets of cards based on specific rules. The game is designed to be played on a computer with a graphical user interface, and it supports multiple players.
- Java Development Kit (JDK) 8 or higher.
- An IDE or text editor (e.g., IntelliJ IDEA, Eclipse, VS Code).
- A terminal or command prompt.
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/SetCardGame.git
-
Navigate to the project directory:
cd SetCardGame -
Compile the project:
javac -d bin src/**/*.java
-
Run the game:
java -cp bin bguspl.set.Main
- Start the game by running the
Mainclass. - The game window will appear, displaying the game board and the cards.
- The goal of the game is to identify sets of three cards.
- Each card has four features: shape, color, number, and shading.
- A set consists of three cards where each feature is either all the same on each card or all different on each card.
- Players can use the keyboard to select cards and declare sets.
- Each player is assigned specific keys to select cards on the table.
- Each player has specific keys mapped to select cards on the table.
- Press the corresponding keys to select or deselect cards.
- Once three cards are selected, the game will automatically check if they form a valid set.
Enjoy playing the Set Card Game! May your card-finding skills be sharp and your matches quick. If you have any questions or need assistance, feel free to reach out in the Issues section of the repository. Have fun!