HelpContent.cs 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using System;using System.Collections.Generic;
  2. namespace DevilLink2.UI
  3. {
  4. public sealed class HelpFaq {public string Question {get;} public string Answer {get;} public HelpFaq(string question,string answer){Question=question;Answer=answer;}}
  5. // Original HTML FAQ text. Formatting tags are removed without changing the wording.
  6. public static class HelpContent
  7. {
  8. public static IReadOnlyList<HelpFaq> Faq {get;}=Array.AsReadOnly(new[]{
  9. 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."),
  10. 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."),
  11. 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."),
  12. 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."),
  13. 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."),
  14. 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."),
  15. 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."),
  16. 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."),
  17. 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."),
  18. 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."),
  19. 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.")});
  20. public const string HowToPlay=@"Rules
  21. 1. Tap two tiles with the same symbol.
  22. 2. Link them with at most 2 turns (3 segments).
  23. 3. The line only crosses empty cells (border counts).
  24. 4. Wrong link (same tiles, no path) → −3s in timed modes.
  25. 5. No moves? The board reshuffles for free.
  26. 6. Clear every tile to finish the level.
  27. Scoring
  28. 100 per pair × combo (max ×5); clearing pays coins + 1 ticket.
  29. Levels
  30. Mode | Lv 1 | Lv 10 | How it gets harder |
  31. Classic | 4×8 · 3:00 | 10×14 · 3:00 | 32 → 140 tiles |
  32. Time Attack | 6×8 · 2:00 | 6×8 · 0:44 | −4s each level |
  33. Zen | 6×8 · ∞ | 9×14 · ∞ | 48 → 126 tiles |
  34. Items
  35. Hint (2,000) · Shuffle (5,000) · +30s (3,000), consumed from your bag. Zen has no timer, so +30s is disabled there.
  36. Free sources
  37. Weekly check-in (7-day loop) and the free daily wheel. The wheel pays 500–3,000 coins or one item.
  38. Board and path details (Markdown prototype):
  39. 12 symbols: Imp, Trident, Ring, Potion, Candle, Star, Piggy, A, Q, J, 10, 9.
  40. 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.
  41. Selection and combo details (HTML FAQ):
  42. 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.
  43. 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.";
  44. }
  45. }