using System;using System.Collections.Generic; namespace DevilLink2.UI { public sealed class HelpFaq {public string Question {get;} public string Answer {get;} public HelpFaq(string question,string answer){Question=question;Answer=answer;}} // Original HTML FAQ text. Formatting tags are removed without changing the wording. public static class HelpContent { public static IReadOnlyList Faq {get;}=Array.AsReadOnly(new[]{ new HelpFaq(@"How do I clear a pair?",@"Tap two tiles with the same symbol. They must be connected by a path with at most two turns, and the path may only cross empty cells — including the empty border around the board."), new HelpFaq(@"What if I pick a wrong pair?",@"Two identical tiles with no legal path: the tiles shake and, in timed modes (Classic / Time Attack), you lose 3 seconds. Two different tiles simply move the selection — no penalty. Zen has no timer, so nothing is deducted there."), new HelpFaq(@"How do levels work?",@"Each mode has 20 levels. Progress is saved on this device and the next level unlocks when you clear the current one. Failing a level lets you retry it without losing coins or progress. After level 20 you can replay it."), new HelpFaq(@"How does each mode get harder?",@"Portrait board follows mobile reading direction: fewer columns and more rows. Classic renders 4×8 (32 tiles) → 10×14 (140 tiles), clock fixed at 3:00. Time Attack renders 6×8 (48 tiles), clock 2:00 → 0:44 (−4s per level). Zen renders 6×8 (48 tiles) → 9×14 (126 tiles), no timer."), new HelpFaq(@"What do I get for clearing a level?",@"Coins plus 1 wheel ticket. Classic and Zen pay 1,000 → 5,000 coins; Time Attack pays 2,000 → 6,000. Rewards rise with every level."), new HelpFaq(@"How is the score calculated?",@"100 points per pair, multiplied by your combo (up to ×5). Matching again within 4 seconds raises the combo. Clearing the board adds a bonus plus remaining time."), new HelpFaq(@"What items are there and what do they cost?",@"Hint 2,000 · Shuffle 5,000 · +30 Seconds 3,000 coins, bought in the Shop. You start with 1 hint and 1 shuffle. Items are consumed from your bag; Zen has no timer, so +30s is disabled there. No moves left? The board reshuffles for free."), new HelpFaq(@"Where do coins come from?",@"Only from playing: level clears, the weekly check-in and the free wheel. Coins are spent only in the Shop on items. There is no purchase, no ads and no cash value."), new HelpFaq(@"How does the weekly check-in work?",@"A 7-day loop: 300 coins → hint → 600 coins → shuffle → 1,000 coins → +30s → 2,000 coins. One claim per day; missing a day does not reset the loop, it simply continues from where you left off."), new HelpFaq(@"How does the wheel work?",@"8 slices: 500 / 800 / 1,000 / 1,500 / 3,000 coins, plus one hint, one shuffle and one +30s. One free spin every day; after that each spin costs 1 ticket, and tickets come from clearing levels."), new HelpFaq(@"Where is my progress saved?",@"Locally in this browser: level progress, coins, tickets, items and the check-in state. There is no account and no cross-device sync — clearing browser data removes everything.")}); public const string HowToPlay=@"Rules 1. Tap two tiles with the same symbol. 2. Link them with at most 2 turns (3 segments). 3. The line only crosses empty cells (border counts). 4. Wrong link (same tiles, no path) → −3s in timed modes. 5. No moves? The board reshuffles for free. 6. Clear every tile to finish the level. Scoring 100 per pair × combo (max ×5); clearing pays coins + 1 ticket. Levels Mode | Lv 1 | Lv 10 | How it gets harder | Classic | 4×8 · 3:00 | 10×14 · 3:00 | 32 → 140 tiles | Time Attack | 6×8 · 2:00 | 6×8 · 0:44 | −4s each level | Zen | 6×8 · ∞ | 9×14 · ∞ | 48 → 126 tiles | Items Hint (2,000) · Shuffle (5,000) · +30s (3,000), consumed from your bag. Zen has no timer, so +30s is disabled there. Free sources Weekly check-in (7-day loop) and the free daily wheel. The wheel pays 500–3,000 coins or one item. Board and path details (Markdown prototype): 12 symbols: Imp, Trident, Ring, Potion, Candle, Star, Piggy, A, Q, J, 10, 9. Select two matching symbols. Paths use horizontal and vertical segments only, with at most two turns. Only empty cells may be crossed, including one empty border around the board. A gold outline marks the selected tile. Selection and combo details (HTML FAQ): Two identical tiles with no legal path: the tiles shake and, in timed modes (Classic / Time Attack), you lose 3 seconds. Two different tiles simply move the selection — no penalty. Zen has no timer, so nothing is deducted there. 100 points per pair, multiplied by your combo (up to ×5). Matching again within 4 seconds raises the combo. Clearing the board adds a bonus plus remaining time."; } }