Skip to content

Latest commit

 

History

History
57 lines (33 loc) · 1.96 KB

README.md

File metadata and controls

57 lines (33 loc) · 1.96 KB

Set Game Solver

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.

About the Game

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.

Features

  • 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.

Technologies Used

  • Backend: Python
  • Frontend: HTML, CSS (Bootstrap), JavaScript

Installation

To run the Set Game Solver locally, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/solena8/setgame.git
    
  2. Navigate to the Project Directory:

cd setgame

  1. 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.

  1. Open the Frontend:

Open the index.html file in your web browser to access the user interface.

Usage

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.

Development

This project is still a work in progress. Future improvements include:

  • Enhancing the algorithm for better performance.
  • Expanding the user interface for additional functionalities.

Contact

For questions or feedback, please reach out to [email protected].