- Source Repository
- https://github.com/grimmier378/MemoryGame
MemoryGame
A memory card matching game that runs inside MacroQuest. Flip cards, find matching pairs, and work your way through progressively harder levels. Cards use EverQuest spell icons as their artwork.
Getting Started
Start the script:
How to Play
Controls
Scoring
Every move you make is classified into one of four categories:
|
**Level Stats** track your current level. **Session Stats** accumulate across all levels played since starting the script.
Your best completion time per level is saved and shown. Beat it and you'll see a "NEW BEST TIME" message.
Level Progression
Levels get harder in three ways:
Available board sizes: 16, 20, 24, 30, 36, 42, 48, 56, 64, 72, 80, 90, 100.
Card Colors
Save Data
Progress is saved automatically to:
This stores your highest level reached and your best time/score for each level. Save data is shared across all characters.
Debug Mode AKA (CheatMode)
To see detailed card generation info in the MQ console:
example output lvl 1:
example lvl 67:
A memory card matching game that runs inside MacroQuest. Flip cards, find matching pairs, and work your way through progressively harder levels. Cards use EverQuest spell icons as their artwork.
Getting Started
Start the script:
/lua run MemoryGameHow to Play
- Click any face-down card (blue) to flip it over and reveal its spell icon pattern.
- Click a second face-down card to flip it.
- If the two cards have the **same pattern**, they're a match! Both cards lock in place.
- If they **don't match**, both cards flip back face-down after 3 seconds. You can click anywhere to dismiss them early.
- Keep going until every pair on the board is matched.
- Click the Next Level button to advance.
Controls
| New Game | Resets to Level 1 (asks for confirmation; clears session stats) |
| Jump To Level | Jump to any level up to 10 past your highest completed level |
| Next Level | Appears after completing a level; advances to the next one |
Scoring
Every move you make is classified into one of four categories:
| Remembered | You matched two cards, and you had already seen the second card before. Nice memory! |
| Guess | You matched two cards, but you'd never seen the second card. Lucky pick. |
| Forgot | Cards didn't match, but the correct match for one of them was face-down somewhere you'd already seen. You knew the answer and forgot. |
| Miss | Cards didn't match, and there was no way you could have known the right answer yet. No penalty |
**Level Stats** track your current level. **Session Stats** accumulate across all levels played since starting the script.
Your best completion time per level is saved and shown. Beat it and you'll see a "NEW BEST TIME" message.
Level Progression
Levels get harder in three ways:
| Board Size | Starts at 16 cards (4x4), grows every 5 levels up to 100 cards |
| Icons per Card | Starts at 1, adds another icon every 10 levels (up to 9 in a 3x3 grid) |
| Pattern Similarity | At level 50+, some cards use shuffled versions of existing icon sets. At level 100+, every pair must have a unique pattern (No Duplicate pairs) |
Available board sizes: 16, 20, 24, 30, 36, 42, 48, 56, 64, 72, 80, 90, 100.
Card Colors
| Blue | Face-down, waiting to be flipped |
| Tan\Beige | Currently flipped face-up |
| Green flash | Match found |
| Red flash | Mismatch pair |
| Grey | Already matched (during play) |
| Green BG | Matched by remembering (level complete display) |
| Yellow BG | Matched by lucky guess (level complete display) |
Save Data
Progress is saved automatically to:
<MQ Config Dir>/MemoryGame/memorygame.luaThis stores your highest level reached and your best time/score for each level. Save data is shared across all characters.
Debug Mode AKA (CheatMode)
To see detailed card generation info in the MQ console:
/lua run MemoryGame debugexample output lvl 1:
Code:
[MemoryGame] Level 1: 16 cards (4x4), 1 icons/card, 8 pairs
[01] pos=1 key=194
[15] pos=2 key=54
[09] pos=3 key=24
[05] pos=4 key=76
[08] pos=5 key=168
[14] pos=6 key=56
[13] pos=7 key=56
[03] pos=8 key=6
[12] pos=9 key=214
[16] pos=10 key=54
[06] pos=11 key=76
[07] pos=12 key=168
[04] pos=13 key=6
[10] pos=14 key=24
[11] pos=15 key=214
[02] pos=16 key=194
example lvl 67:
Code:
[MemoryGame] Level 67: 100 cards (10x10), 7 icons/card, 50 pairs
[67] pos=1 key=193-165-37-179-160-197-99
[71] pos=2 key=63-2-16-137-209-31-49
[98] pos=3 key=0-127-211-56-151-70-161
[27] pos=4 key=145-28-175-194-96-61-53
...

