The game goes something like this: cards are layed down in a 4x4 grid face up. Each card has four attributes: number of items on it (1,2,3), shape, color, and shading type. The goal is to find sets. A set consists of three cards which foreach of the four attributes have either:
An example set:
|
Blue 3 Circles Solid fill |
Green 3 Triangles Empty Fill |
Red 3 Squares Hash Fill |
Eventually I'd probably like to come up with a TK version and add lots of stats to keep track of what types of sets a given player tends to find first out of all the possible sets they could find at a given point of the game. This would possibly shed some light on the quickest/easiest type(s) of pattern matching for a given player.
I'm looking for different ways of maintaining the game state. Storable/DB_Files seem like the obvious solution but I am also curious as to what some other alternatives might be.
vroom | Tim Vroom | vroom@blockstackers.com
In reply to Ways to maintain state in a CGI based card game by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |