Welcome to the Set Game Solver repository! This project is a tool designed to assist players of the card game Set by identifying possible sets of cards based on the game's rules.
Set is a visual perception game where players must find sets of three cards from a selection. Each card is defined by four attributes: color, shape, number, and shading. A set consists of three cards where each attribute is either all the same or all different across the cards.
- Card Selection: Input your current selection of 12 or 15 cards from your physical game.
- Set Identification: The solver analyzes the cards and provides possible sets of three that meet the game’s criteria.
- User Interface: Built with HTML, CSS (Bootstrap), and JavaScript to provide an intuitive front-end experience.
- Backend: Python
- Frontend: HTML, CSS (Bootstrap), JavaScript
To run the Set Game Solver locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/solena8/setgame.git
-
Navigate to the Project Directory:
cd setgame
- Set Up the Backend:
Ensure you have Python installed. You can use pip to install the required packages if you have a requirements.txt file. Run the Python backend script to start the server.
- Open the Frontend:
Open the index.html file in your web browser to access the user interface.
Enter Card Information: Input the attributes of the 12 or 15 cards currently in play. Find Sets: Click on the button to find all possible sets. View Results: The application will display the sets that can be formed with the selected cards.
This project is still a work in progress. Future improvements include:
- Enhancing the algorithm for better performance.
- Expanding the user interface for additional functionalities.
For questions or feedback, please reach out to [email protected].