-
Mystery MachineA generative puzzle card game for 1 player.
-
- 2024
-
- Type:
- Puzzle / Solitaire
- Players:
- Difficulty:
- Ext. Diff.:
-
- Version
- 1.0
- Updated on
- 13 Nov 2026
- In Finnish:
- Mysteerimasiina
- Sibling games:
- Suit Nations, Suit Taboo
- Table of contents
- Optional rules:
(extension) Puzzle Mods
-
-
BASICS
REQUIREMENTS
- 1 player.
- Normal deck of 52 cards. (Optionally a couple of jokers and matches / pointed sticks with extensions.)
- Some coins (or other tokens) in a few categories (about 3 or 4 categories, each with about 3 - 6 tokens), and optionally a stone (for the closed shop).
BASIC IDEA
Mystery Machine is a puzzle game that also serves as a playground for creating puzzles (a mix of grid logic and solitaire).
- In the puzzle grid, each row corresponds to an unknown rank (A, K, Q, J), and each column corresponds to an unknown suit (♤, ♧, ♥, ♦).
- The player tries to figure out what the card at A1 slot must be (its rank and suit) - using cues from the knowledge bought from the question shops.
- Each question shop is tied to a token type, and its puzzle cards represent the grid cells with the same token type. The tokens at each shop, in turn, signify the price for one puzzle card reveal: how many hand cards are required (= token count) and in which form (e.g., same rank, same suit, straight flush).
- Playing the game, the player draws two cards from the deck (of low cards 2 - 10) at a time, and keeps one. The player can then use these hand cards to buy knowledge from the shops using their prices (e.g., 3 of the same rank). The game ends after trying to guess the mystery, or when the deck runs out.
EXAMPLE OF GAMEPLAY REASONING
Let's explore the above gameplay image a little bit to make this all more intuitive:
- In the image above, since ♥J and ♥K are revealed for the yellow shop, and yellow tokens are at B2, B4 and D2, we know that the two cards are B2 and B4 (same suit) - they cannot be B2 and D2 (same rank), nor D2 and B4 (different rank and suit). Thus, A-column is not ♥, and the 1st row is not J or K.
- Since we can also see ♧J in the green shop - and its tokens at A4, C2 and D1 - by comparing yellow and green tokens in the grid with our card knowledge, we know that ♧J must either refer to the 2nd row (C2) or 4th row (A4), where ♥J can be (at B2 or B4).
- So, it would be tempting to pick that ♥5, as we'd have 3 x rank 5 in our hand, and can use them to buy one more card reveal in the yellow shop (for D2). If it's another K, the 2nd row would be K, and thus the 4th row J - making A4 equal to ♧J (so only the rank of A1 is left a mystery). But if it's a (3rd) J, the 2nd row is J, and we have sampled cards from columns B (♥J, ♥K), C (♧J) and D (J) - and thus know suit A by negation (= the suit not currently seen in any shop).
- Another option would be to pick the ♦9, and use 3 x ♦ in our hand to buy another reveal from the green shop (with 3 same suit) - with somewhat more complex implications. Yet another option would be to use the two 5's to buy knowledge from the red shop (with a pair).
- Due to randomness in the reveal piles and flow of low cards, coupled with strategical paths, each puzzle can have variability to its mystery.
MAIN STEPS
A game run is composed of 3 main steps:
- A puzzle design is picked, and the tokens are placed on the grid and next to each question shop according to the puzzle.
- The dealing routine transforms the ordered puzzle cards (face cards and aces) into a carefully shuffled puzzle deck that is dealt to the question shops.
- The game is played by collecting cards from the main deck (2 - 10): always picking 1 out of 2 - and buying puzzle card reveals to solve the puzzle.
If the player can guess which card A1 is before the deck runs out, they win - otherwise it's a loss. (The same puzzle and mystery can be easily retried.)
-
SETUP
1. PUZZLE GRID
Pick one of the puzzle examples below - or you may even sketch out a puzzle in place (after trying a few).
- PUZZLE GRID: The grid is drawn on a piece of paper and the puzzle laid on it using a few different looking tokens (e.g. different coins) to fill the cells.
- Each cell should only have 1 token, and some are usually left empty. (If you run out of token categories, you can also combine 2 different coins as a unique token.)
- Create one reusable 4x4 grid on an A5 paper, where each cell is about 1 x 1 inch. Next to the grid, draw a rectangle large enough to fit a playing card.
- QUESTION SHOPS & PRICES: The puzzle also sets the price at each shop, indicated by tokens placed next to them, where token count = cards required.
- SAME RANK: Requiring cards of the same rank is marked by placing 2-4 tokens in a row. (4 same is very expensive, 3 same is middle-priced, 2 same = 1 pair is cheap.)
- 2 x SAME RANK: Requiring 2 pairs, or even a full house (= 2 same rank + 3 same rank), is marked by two rows with 2 or 3 tokens. (These are very expensive.)
- SAME SUIT: Requiring the same suit is marked by placing 2-4 tokens in a column. (Most often using 3 tokens - as if middle priced.)
- STRAIGHT FLUSH: Requiring the same suit with subsequent ranks (e.g., ♥5 and ♥6) is marked by 2-4 tokens overlapping each other in a column. (Very expensive.)
2. DEALING MECHANISM
This mystery-mechanism shuffles the ordered puzzle cards (= 4 x J, Q, K, A) by columns and rows and finally deals them into the question shops.
- INITIAL ORDER: The puzzle cards (= at least 4 ranks with all 4 suits) are piled face up by the same suit, while using the same rank order for each (e.g., A, K, Q, J).
- SHUFFLING SUITS: The suit piles are turned face side down, and then shuffled as piles (= moving the piles around, while their contents remain unshuffled), until one no longer knows which is which. (With the help of someone, or with two players, each can quickly shuffle while the other looks away - so neither knows.)
- REGROUPING (= XY-grid flip): Each suit pile is then laid (face down) as a temporary row (from left to right), where each row slightly overlaps the earlier, while the columns are separated. Each column in this temporary grid represents a rank and is piled into its own rank pile (keeping the same suit order in each).
- SHUFFLING RANKS: The rank piles are then shuffled like in step 2. (As a result, both the suit and rank order get shuffled, but stay internally consistent.)
- QUESTION SHOP PILES: Finally, the rank piles are piled up (the 4 topmost cards are of one rank, the next 4 of another, etc. - having the same suit order within each) and dealt according to the grid - starting from the top-left corner, going from left to right, row by row (A1, B1, C1, D1, A2, B2, C2, ...).
- The topmost card (for A1) goes to the special mystery A1 holding spot. The remaining cards are dealt to the shops of the matching token type in the grid cell (e.g., if B1 refers to a red token, the 2nd card is dealt to the red shop). The empty cells refer to an extra closed shop (= no token), on which a stone is placed after.
- Finally, the puzzle cards in each shop are shuffled - except for the inaccessible closed shop.
- PUZZLE GRID: The grid is drawn on a piece of paper and the puzzle laid on it using a few different looking tokens (e.g. different coins) to fill the cells.
-
PLAYING
3. ON THE PLAYER'S TURN
The game proceeds by collecting cards from the main deck (ranks 2 - 10). The deck is shuffled and 2 cards are drawn face up next to the deck.
- PICK A CARD: The player picks one of the two cards, and discards the other (face down aside). To start a new turn, draw 2 new cards face up again.
- The player can collect up to 6 hand cards. Upon collecting the 7th card, one of the earlier hand cards is discarded.
- BUY A REVEAL: The hand cards are used to buy puzzle card reveals. One can buy as many in a turn as the hand cards allow (before and/or after picking).
- The price of a reveal at each question shop is indicated by how the tokens next to the shop are arranged, and how many there are.
- For example, a shop with 3 tokens in a row requires to have 3 cards of the same rank (e.g., ♤4, ♧4 and ♦4). See the question prices above.
- After paying the price, the used hand cards are dumped, while the topmost face down card in the targeted question shop is turned face up (and put on top).
- The price of a reveal at each question shop is indicated by how the tokens next to the shop are arranged, and how many there are.
- SOLVE / GUESS: Finally, when the player thinks they've figured it out (or the main deck runs out), they can declare the suit and rank of the mystery card.
- The card is turned around and if correct, the player wins - otherwise they lose.
- HOW WELL? The success of a run can be measured by counting how many cards were left in the main deck after a correct answer - the more the better.
- RETRY? To retry a puzzle without a full reset, just reshuffle each shop and the main deck - and forget what you learned about the mystery in this run. ;)
- PICK A CARD: The player picks one of the two cards, and discards the other (face down aside). To start a new turn, draw 2 new cards face up again.
-
-
extension: PUZZLE MODS
This extension features a few extra tools for the puzzle designer. With all included, the puzzle process is:
- Forming equally ordered suit piles, and turning them face down.
- Shuffling the suit piles.
- Regrouping (XY-flip for suits and ranks).
- Shuffling the rank piles.
- Performing Cell Twists.
- Dealing the puzzle cards into the mystery slot and to the question shops - and shuffling cards in each shop if using Random Removals.
- Performing Random Removals and Random Adds (and an extra shop shuffle in-between) - the design decides which comes first (if using both in one shop).
- Shuffling cards in each question shop. (If uses Random Removals but not Random Adds, this step can be skipped - the piles were already shuffled at step 6.)
puzzle mod: EXTENDED GRID
The puzzle grid can be extended by including some low ranks (eg. 10, 9, ...) as puzzle cards.
- The main deck will have fewer cards, but this can be balanced by allowing one or more reshuffles of the main deck.
puzzle mod: EXTENDED MYSTERY
There can alternatively be multiple mystery cards (eg. A1 and A2). The mystery slots can be picked freely, but are typically A1 and near it (B1 or A2).
puzzle mod: RANDOM REMOVALS
The designs can also include discarding puzzle cards from certain question shops after dealing into them and shuffling cards in each.
- REMOVAL: After shuffling the cards in the shop, the removed card(s) are simply moved under the inaccessible closed shop (kept face down).
- MYSTERY SWAP: Or, the mystery card(s) can go to the closed shop, while the removed card(s) take their place. (So, the mystery location is not fully known.)
puzzle mod: RANDOM ADDS (joker)
The designs can also include adding empty reveals into certain question shops using jokers - they simply give no information for the price paid.
- ADDING EMPTIES: Right before shuffling the shops, 1 or 2 jokers are included into a special-marked shop face down (or 1 joker into 2 special shops).
- WITH RANDOM REMOVALS: When combined with Random Removals, there needs to be an extra shuffle at each related shop in-between.
puzzle mod: CELL TWISTS
The designs can feature grid cell based twists (marked with matches or pointed sticks on the grid) - performed right before dealing into the shops.
- To help visualize the grid and twists, you can lay the shuffled puzzle deck into a shadow grid - row by row from left to right (as if A1, B1, C1, D1, A2, B2, ...) - and then perform the cell based twists, and finally deal this shadow grid directly into the mystery slot and shops.
- CELL SHIFT: Two or more cards of the same rank or suit can be shifted one step (the last one becomes the first one) - for two cells, it's just a swap. This is marked with one (or more) matches placed across two cells each (for neighbour rows / columns) - the matchheads indicating the shift direction.
- ENTANGLED SHUFFLE: Two or more cards (anywhere in the grid) can be shuffled and placed back - marked with matches placed as an X (or Y) on each cell.
- JOKER CELL SWAP: Cards can be replaced by jokers (face down) - marked with one match going diagonally (falling or rising) across the cell.
- REMOVAL / MYSTERY SWAP: The replaced card(s) are either moved to the closed shop (left-bottom <-> right-top) or taken as the mystery (left-top <-> right-bottom).
- Alternatively, this can be done with the combo of Random Removal + Random Add for a given shop. But as a cell swap it is specific to a grid cell.
-
-
PUZZLES
PAR PUZZLES
These are example puzzles with a par for optimum number of questions asked (= reveals done). The legend visualizes the question shop prices.
![Legend for prices Legend for prices]()
puzzle (par 4.5): WELCOME MUSHY HEADS
- Uses normal 4x4 grid. The A1 slot is the mystery - can get it with about 4 or 5 reveals.
- Q1 shop has 4 cards and its price is 1 pair. Uses cells: A2, B1, C3, D4.
- Q2 shop has 3 cards and its price is 3 same suit. Uses cells: A4, C2, D1.
- Q3 shop has 3 cards and its price is 3 same rank. Uses cells: B4, B2, D2.
![Welcome Mushy Heads Welcome Mushy Heads]()
puzzle (par 4.5): THE THREE TWO'S
- Uses normal 4x4 grid. The A1 slot is the mystery - can get it with about 4 or 5 reveals. Uses Random Removal and Random Add.
- Q1 shop has 3 cards and its price is 3 same suit. Uses cells: B2 and C2 with one joker added as an empty reveal (the 3rd card).
- Q2 shop has 2 cards and its price is 3 same rank. Uses cells: A4, B3, D1 - one is discarded with Random Removal.
- Q3 shop has 2 cards and its price is straight flush of 3. Uses cells: C1, C3.
- VARIATION: WHAT WAS REMOVED? For Q2, instead of a random removal, move the card to the mystery slot and deal A1 card to the closed shop.
![The Three Two's The Three Two"s]()
puzzle (par 4): ONE, TWO, THREE
- Uses normal 4x4 grid. Uses Random Removal and Extended Mystery: A1-A2 are the mystery slots - can figure it out with about 4 reveals.
- Q1 shop has 1 card and its price is straight flush of 3. Uses cells: B1, C4.
- Q2 shop has 2 cards and its price is 2 pairs. Uses cells: A4, B3, D1 - one is discarded with Random Removal.
- Q3 shop has 3 cards and its price is 3 same suit. Uses cells: B4, C3, D2.
![One, Two, Three One, Two, Three]()
-
-
STRATEGY
QUICK ADVICE FOR PUZZLE DESIGN
- Any question shops with only one token should be very expensive - because buying from that directly tells the suit and number for that slot.
- It's not recommended to have a shop with 3 tokens that are all on a different row and column in the grid, while none refer to the rows or columns of the mystery slot - as buying 3 questions (in a 4x4 grid) from this shop would give away the answer.
- Instead, try to form interestingly interacting row and column plays. After finding something interesting, find appropriate prices (and it's basically ready).
- To finalize your puzzle design, figure out the best strategical paths and try playing the game. Adjust the puzzle difficulty by adjusting the prices, or sometimes by adjusting the puzzle grid. Feel free to share good puzzle designs by emailing them to:
infokoodikulmafi. - (In case someone is interested, I have developed an algorithm (in GDScript) to generate and evaluate puzzles. I was about to make this a computer game, but my focus shifted.)
-
-
HISTORY
v1 - Mystery Machine (2024-03-31 - 2024-04-18)
- Explanations (2026-11-13): Refined the rule explanations all throughout, and some naming. (No changes in the rules.)
- v1.0 (2024-04-18): Added the main card deck (2 - 10) to complete the gameplay and make sense of it all.
- v0.1 (2024-03-31): While exploring solitaire mechanisms, the vision of question piles and dealing mechanisms came up and evolved into this.
-
THANKS
INSPIRATION
The original inspiration comes from the inherent puzzliness of the universe (or of all and nothing that is).



