Main menu:

Sponsoring

Please consider a small donation:

 

Also appreciated: support me by clicking the ads (costs nothing) :-)

 

Or you can donate bitcoin:

 

Thanks to TekLinks in Birmingham, AL, for providing colocation and bandwidth.

Page Rank

Fame

FOSS Force Best Blog--2013 Award

Recent posts

Recent comments

About this blog

I am Eric Hameleers, and this is where I think out loud.
More about me.

Search

My Favourites

Slackware

Calendar

September 2014
M T W T F S S
« Aug    
1234567
891011121314
15161718192021
22232425262728
2930  

RSS Alien's Slackware packages

RSS Alien's unofficial KDE Slackware packages

RSS Alien's multilib packages

Meta

Game of SET

An old game and I never had seen, played or heard about it… I am referring to the game of SET.

My son went on a school camp where they played SET, and back home we bought a boxed version. It is very addictive!

This card game was created by Marsha Jean Falco in 1974. As part of a genetics study she wrote down the information she collected in the form of colored symbols. This made it easier for her to compare combinations of inherited genes and the resulting behaviour of her subjects (german sheperd dogs). At some point, someone suggested that there was potential for having some fun with these cards, and that is how the game was born. It took until 1991 before SET appeared on the market though.

The rules are very simple. They involve creating sets of 3 cards out of a total of 81 cards. These cards have four different characteristics: each card has a unique combination of numbers (one, two or three), shapes (diamonds, ovals or squiggles), colours (red, green and purple), and fillings (solid, striped or open). Three cards form a set if the following is true for each and all four characteristics: all cards have the same property, or, all cards are completely different. An example of a set is the combination of three cards that display:

  1. one red striped oval
  2. two green open ovals
  3. three purple solid ovals

You try to find sets of three cards and take these off the board. The game ends when no more sets can be found, and the winner is the one who has collected most sets. When you hear people yell “SET!” you will realize that they are actually playing this game.

I will not try to explain the full rules here. The SET website has documented the SET rules, and the mathematics behind it., They also have a daily puzzle competition and more worthwhile things to read.

I have found several online versions of the game. Because the rules are so simple and well-defined, it does not take a lot of code to write.

  • Browser-based:
    • Javascript based: http://geocities.com/humblephysics/set.html – this version is the best I found. It plays a complete game, removing cards you selected as a set and replacing them with new cards from the deck. If necessary (because there is no set available in the cards on the table), it will also add extra cards to the table. You can download a ZIP archive with everything needed if you want to play the game offline. Update: the original site seems to have been taken offline, so I hunted down a copy and here it is: the ZIP-ed game as well as an online playable copy.
    • Javascript/AJAX based: http://thebreretons.com/setgame/ – this version of SET is not about playing the game to completion, but rather the goal is to find the 6 possible sets available on the table. The javascript used for this game is ‘obfuscated‘ and the game does not work if you copy it to your own machine.
  • Windows/Linux
    • The best program to use (in my opinion and that of my wife) is TATset. It is open source and although the homepage (http://www.tatset.com/) seems to be off-line, the Sourceforge page is still there. Screenshot:
TATset

TATset

I hope you will have as much fun with SET as I am having!

Eric

Comments

Comment from Brad Reed
Posted: February 12, 2011 at 16:17

Do you have a SlackBuild for TatSet? Or a mirror of the java version that was on GeoCities?

Comment from alienbob
Posted: February 12, 2011 at 20:42

Hi Brad

I had to search hard to find a copy of that javascript version of set, but I have found it.

See the updated text of the article, I added a working link to the ZIP file as well as an online copy.

Eric

Comment from Brad Reed
Posted: February 12, 2011 at 21:55

Seems pySet on Sourceforge works.

Comment from Brad Reed
Posted: February 12, 2011 at 21:57

Thanks for the update! I hadn’t seen you comment before, oops.

Write a comment