A Python implementation of the Game: Set
Python ~= 3.8.10
You can download Python using this link: https://www.python.org/downloads/
- Clone the project
git clone https://github.com/ACRacusa/set-game.git
- Go to the project directory
cd set-game
- Install necessary python packages. Itertools and Random are automatically installed upon installing Python
pip install pandas
- Start the Python project
python3 setgame.py
- Start with a deck of cards, each of which has a certain number of shapes, different colors, and shadings
- Deal out 12 cards and start looking for a Set
- A Set is a collection of three cards that have all the same or all different patterns.
- They all have the same number or have three different numbers.
- They all have the same shape or have three different shapes.
- They all have the same shading or have three different shadings.
- They all have the same color or have three different colors.
- If no Set exists in the drawn cards, deal out three more cards. Repeat until a set occurred.
- A Set is a collection of three cards that have all the same or all different patterns.
- There is a total of 81 cards in the deck.
- Each card displays an image with Four features:
- Shape
- Oval
- Squiggles
- Diamonds
- Color
- Red
- Green
- Purple
- Number
- 1
- 2
- 3
- Shading
- Filled
- Outlined
- Striped
- Shape
- The goal of the game is to collect as many sets as possible until there's no more possible sets in the game table.