New game: Memory
Submitted by Wa
Link to original bug (#637210)
Description
Created attachment 176388 Memory game for AisleRiot and help file.
Deck: Either standard or pinochle (9-K+A), with or without jokers, and optionally two of them. Rules: Click a card to turn it over. You may only have two cards showing at a time. If they match based on the set rules, remove them from play. If they don't match, turn them back over.
You may match by rank only, rank and color, rank and opposite
color, or whole suit.
Whole suit requires you to use two decks.
When using jokers with only one deck, they will always match
each other regardless of settings. When using both decks, they
match based on the given rules (where whole suit is the same as
color).
===
Second game for AisleRiot now~ :3 I have a couple concerns in making this, however.
- Options are reported by the system incorrectly when using as many as I have. I didn't try to add any software work-arounds because this may have been fixed in a later version (I'm using 2.30.0 because it's what's in the repo :( (Xubuntu)). You will likely have to re(un/check) the non-exclusive options after choosing a new exclusive one because of this.
- Scoring was described as "lowest is best" and I implemented it as such. It counts +1 score for each non-match. I'm not sure if this is how it should be implemented in AisleRiot, however.
Rules taken from: http://en.wikipedia.org/wiki/Concentration_(game)
PS: I named it Memory over Concentration because that's what I've always known it by, and I assume most others know it by that, too.
Attachment 176388, "Memory game for AisleRiot and help file.":
memory.tar.gz
Version: git master