SPB Git forge

spb/spinza

Public
8commits 1branches 0releases
1.6 MBsize
maindefault branch
16 days agolast push
TypeScript 97.6% SQL 1.4% JavaScript 0.5%
3.5 KB · 59 lines typescript
Raw Blame History
1import { LINES_20, defineGame, scatterSym, sym, wildSym } from "@spinza/game-core";23/**4 * GAME 03 — GOLDEN EMPEROR5 * Mythical imperial dynasty. 5×3, 20 paylines, sticky golden wilds that carry6 * a dragon multiplier in free spins, retriggering Imperial Seals.7 */8export const goldenEmperor = defineGame({9  slug: "golden-emperor",10  name: "Golden Emperor",11  version: "1.0.0",12  tagline: "The dragon remembers every wild.",13  description:14    "Enter the throne room of a dynasty that never fell. Dragon Pearls turn wild wherever they land, and inside the Dragon Court free spins they freeze in place and carry a ×2, ×3 or ×5 dragon multiplier that stacks on every line they touch. Three Imperial Seals open the court, and more seals keep it open.",15  theme: "mythical imperial dynasty",16  tags: ["lines", "sticky-wilds", "multiplier-wilds", "free-spins", "retrigger"],17  grid: { reels: 5, rows: 3 },18  payModel: { type: "lines", lines: LINES_20 },19  rtp: 0.96,20  volatility: "medium",21  maxMultiplier: 3000,22  symbols: [23    wildSym("W", "Dragon Pearl", [0, 2, 2, 2, 0], { shape: "orb", color: "#ffd166", accent: "#ff3b3b", glow: 1 }, { freeSpinWeight: [0, 1, 1, 1, 0] }),24    scatterSym("S", "Imperial Seal", 1.4, { shape: "shield", color: "#c8102e", accent: "#ffd166", glow: 0.9 }),25    sym("P1", "Golden Emperor", "premium", { 3: 80, 4: 300, 5: 1000 }, 2.6, { shape: "crown", color: "#ffcc33", accent: "#fff5cc", glow: 0.9 }),26    sym("H1", "Jade Empress", "high", { 3: 40, 4: 120, 5: 400 }, 3.8, { shape: "gem", color: "#2fb37a", accent: "#c8f5df", glow: 0.6 }),27    sym("H2", "Phoenix Fan", "high", { 3: 30, 4: 100, 5: 300 }, 4.2, { shape: "fan", color: "#ff7a1a", accent: "#ffd8a8", glow: 0.6 }),28    sym("M1", "Red Lantern", "mid", { 3: 20, 4: 60, 5: 200 }, 5.5, { shape: "lantern", color: "#e02424", accent: "#ffb3b3", glow: 0.3 }),29    sym("M2", "Gold Ingot", "mid", { 3: 16, 4: 50, 5: 160 }, 6, { shape: "ingot", color: "#f5b942", accent: "#fff1c2", glow: 0.3 }),30    sym("L1", "Imperial Scroll", "low", { 3: 10, 4: 30, 5: 100 }, 9, { shape: "scroll", color: "#d9a441", accent: "#f5e6c8" }),31    sym("L2", "Lucky Coin", "low", { 3: 10, 4: 30, 5: 100 }, 9, { shape: "coin", color: "#b3413a", accent: "#ffd166", label: "福" }),32    sym("L3", "Jade Fish", "low", { 3: 8, 4: 24, 5: 80 }, 10, { shape: "fish", color: "#3f8f6b", accent: "#c8f5df" }),33    sym("L4", "Paper Fan", "low", { 3: 8, 4: 24, 5: 80 }, 10, { shape: "fan", color: "#8a5cc7", accent: "#e9d5ff" }),34  ],35  betDivisor: 20,36  wild: {37    id: "W",38    sticky: true,39    multiplier: { values: [2, 3, 5], weights: [60, 30, 10], freeSpinsOnly: true, combine: "multiply" },40  },41  scatter: { id: "S", triggers: { 3: 8, 4: 12, 5: 20 }, retrigger: true },42  presentation: {43    palette: { primary: "#ffcc33", secondary: "#c8102e", glow: "#ffd166", bg: "#12060a", surface: "#241015" },44    particles: "coins",45    ambience: "royal",46    frame: "gold",47    backdrop: "pillars",48  },49  rules: [50    "Wins pay left to right on 20 fixed paylines, highest win per line.",51    "The Dragon Pearl is wild and substitutes for every symbol except the Imperial Seal (reels 2–4).",52    "3, 4 or 5 Imperial Seals anywhere award 8, 12 or 20 Dragon Court free spins.",53    "During free spins every Dragon Pearl sticks in place for the rest of the feature and carries a ×2, ×3 or ×5 dragon multiplier.",54    "Line wins that include several dragon multipliers multiply them together.",55    "Imperial Seals landing in free spins retrigger the feature.",56    "Maximum win per round: 3,000× the bet.",57  ],58});59