Audio (94) Datatype (15) Demo (48) Development (243) Document (62) Driver (19) Emulation (60) Game (524) Graphics (223) Library (22) Network (60) Office (21) Utility (247) Video (18)
Total files: 1656
Full index file Recent index file
Part of aros exec |
[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] This is an implementation of the sets game.
This code was written by David Ashley dashxdr()gmail.com
http://www.xdr.com/dash
http://www.linuxmotors.com
This code is released under the terms of the GPL, whatever the latest version
is.
Build under linux by just doing
make
You need the SDL library to be installed.
http://www.libsdl.org
Under mac OSX you can build by doing
make -f Makefile.osx
You need to have the SDL sdl framework installed.
***********************************************************
There are 81 cards in the game. 12 cards are shown at a time. The object
is to identify the sets. The upper left corner of the window shows how
many sets have been discovered out of how many that exist.
Hitting the spacebar redeals 12 cards. The deck is shuffled after every "hand".
It's not so much like the real game, it's just a one player version to let
you practice finding the sets. Hitting the return key will expose all the
undiscovered sets.
Hitting escape exits the game.
Clicking on cards selects them, if 3 cards are highlighted that are a valid
undiscovered set, they'll get marked. The marking appears as digits that
show up on each card. The first set found will have 1's, the next set will
have 2's, etc.
RULES OF THE GAME
Each card has 4 characteristics:
COLOR: Either RED, GREEN or BLUE
NUMBER: Either ONE, TWO OR THREE items
SHAPE: Either CIRCLE, SQUARE or TRIANGLE
TEXTURE: Either EMPTY, SOLID or LINED
Since there are 4 characteristics, each with 3 possibilities, there are
3*3*3*3 or 81 possible combinations.
A "set" is 3 cards together where each characteristic is either the same
for all 3 cards, or different for all three cards. For example:
RED, ONE, CIRCLE, SOLID
RED, TWO, CIRCLE, SOLID
RED, THREE, CIRCLE, SOLID
Forms a set. The color is all the same, the shape is all the same, the
texture is all the same, and the number is different.
All you have to do is identify the sets. Click on each of the 3 cards in a
new set and it'll be marked.
Enjoy!
-Dave
|