OPEN-SOURCE SCRIPT
Memory Match Trader Edition

================================================================================
MEMORY MATCH • COMPLETE HOW-TO-PLAY GUIDE
================================================================================
--------------------------------------------------------------------------------
1. THE 4x4 CARD COORDINATE MAP
--------------------------------------------------------------------------------
The board contains 16 face-down cards numbered 1 to 16:
[ 1 ] [ 2 ] [ 3 ] [ 4 ]
[ 5 ] [ 6 ] [ 7 ] [ 8 ]
[ 9 ] [ 10] [ 11] [ 12]
[ 13] [ 14] [ 15] [ 16]
There are 8 matching trading emoji pairs hidden across the 16 cards:
• 🚀 Moon Rocket
• 💎 Diamond Hands
• 🐻 Bear Market
• 🐂 Bull Market
• 💰 Bags of Profit
• 📉 Margin Call
• 🐳 Liquidity Whale
• ☕ Trader's Coffee
--------------------------------------------------------------------------------
2. STEP-BY-STEP PLAY INSTRUCTIONS
--------------------------------------------------------------------------------
STEP 1: START A NEW GAME
1. Double-click the table on your chart (or click the Gear icon in the indicator legend) to open "Settings".
2. Clear out the "Flip History (Pairs of 1-16)" text field so it is completely empty.
3. Click "OK". The scoreboard resets to: PAIRS: 0 / 8 | ATTEMPTS: 0.
STEP 2: MAKE YOUR FIRST MOVE (FLIP 2 CARDS)
1. Open "Settings" again.
2. In the "Flip History" box, type any two card numbers separated by a space.
Example:
1 7
3. Click "OK".
4. Result:
- If Card 1 and Card 7 MATCH: Both cards lock into open state, turn green, and the status bar confirms: "MATCH FOUND!".
- If Card 1 and Card 7 MISMATCH: The cards temporarily reveal their icons so you can memorize what they are, and the status bar reports the mismatch (e.g., "MISMATCH! 🚀 vs 📉").
STEP 3: PLAY SUBSEQUENT TURNS
1. Re-open "Settings".
2. DO NOT delete your previous moves. Append your next pair to the end of the history line with a space.
Example:
1 7 4 12
3. Click "OK". The engine processes turn #2, checks if cards 4 and 12 match, and updates the score.
4. Keep appending pairs (e.g., "1 7 4 12 3 16 2 9") until all 8 pairs are unlocked.
STEP 4: WINNING THE GAME
• Once all 8 pairs (16 cards) are matched, the status bar turns bright green:
"🎉 ALL MATCHED IN X TURNS! PURE ALPHA! 🚀"
• The scoreboard records your total attempts. Try to clear the board in the lowest number of attempts possible!
--------------------------------------------------------------------------------
3. ADVANCED CONTROLS & NEW SHUFFLES
--------------------------------------------------------------------------------
• SHUFFLE A NEW DECK:
In "Settings", change the "Board Shuffle Seed" input to any new number (e.g., 99, 420, 777). This instantly randomizes all 16 card positions for a completely fresh round.
• PEEK MODE (ONE CARD AT A TIME):
If you enter an odd number of cards (e.g., just "5"), the engine will flip only Card 5, show you its emoji in the footer, and ask you to enter card #2.
• THEMES:
Choose between Cyber Neon, Bulls & Bears, Terminal Green, Golden Bullion, and High Contrast under the "Floor Style" group in Settings.
================================================================================
MEMORY MATCH • COMPLETE HOW-TO-PLAY GUIDE
================================================================================
--------------------------------------------------------------------------------
1. THE 4x4 CARD COORDINATE MAP
--------------------------------------------------------------------------------
The board contains 16 face-down cards numbered 1 to 16:
[ 1 ] [ 2 ] [ 3 ] [ 4 ]
[ 5 ] [ 6 ] [ 7 ] [ 8 ]
[ 9 ] [ 10] [ 11] [ 12]
[ 13] [ 14] [ 15] [ 16]
There are 8 matching trading emoji pairs hidden across the 16 cards:
• 🚀 Moon Rocket
• 💎 Diamond Hands
• 🐻 Bear Market
• 🐂 Bull Market
• 💰 Bags of Profit
• 📉 Margin Call
• 🐳 Liquidity Whale
• ☕ Trader's Coffee
--------------------------------------------------------------------------------
2. STEP-BY-STEP PLAY INSTRUCTIONS
--------------------------------------------------------------------------------
STEP 1: START A NEW GAME
1. Double-click the table on your chart (or click the Gear icon in the indicator legend) to open "Settings".
2. Clear out the "Flip History (Pairs of 1-16)" text field so it is completely empty.
3. Click "OK". The scoreboard resets to: PAIRS: 0 / 8 | ATTEMPTS: 0.
STEP 2: MAKE YOUR FIRST MOVE (FLIP 2 CARDS)
1. Open "Settings" again.
2. In the "Flip History" box, type any two card numbers separated by a space.
Example:
1 7
3. Click "OK".
4. Result:
- If Card 1 and Card 7 MATCH: Both cards lock into open state, turn green, and the status bar confirms: "MATCH FOUND!".
- If Card 1 and Card 7 MISMATCH: The cards temporarily reveal their icons so you can memorize what they are, and the status bar reports the mismatch (e.g., "MISMATCH! 🚀 vs 📉").
STEP 3: PLAY SUBSEQUENT TURNS
1. Re-open "Settings".
2. DO NOT delete your previous moves. Append your next pair to the end of the history line with a space.
Example:
1 7 4 12
3. Click "OK". The engine processes turn #2, checks if cards 4 and 12 match, and updates the score.
4. Keep appending pairs (e.g., "1 7 4 12 3 16 2 9") until all 8 pairs are unlocked.
STEP 4: WINNING THE GAME
• Once all 8 pairs (16 cards) are matched, the status bar turns bright green:
"🎉 ALL MATCHED IN X TURNS! PURE ALPHA! 🚀"
• The scoreboard records your total attempts. Try to clear the board in the lowest number of attempts possible!
--------------------------------------------------------------------------------
3. ADVANCED CONTROLS & NEW SHUFFLES
--------------------------------------------------------------------------------
• SHUFFLE A NEW DECK:
In "Settings", change the "Board Shuffle Seed" input to any new number (e.g., 99, 420, 777). This instantly randomizes all 16 card positions for a completely fresh round.
• PEEK MODE (ONE CARD AT A TIME):
If you enter an odd number of cards (e.g., just "5"), the engine will flip only Card 5, show you its emoji in the footer, and ask you to enter card #2.
• THEMES:
Choose between Cyber Neon, Bulls & Bears, Terminal Green, Golden Bullion, and High Contrast under the "Floor Style" group in Settings.
================================================================================
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.