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%
4.0 KB · 64 lines typescript
Raw Blame History
1import { defineGame, scatterSym, sym, wildSym } from "@spinza/game-core";23/**4 * GAME 13 — DRAGON CORE5 * Fantasy energy reactor. 5×4, 1024 ways, Dragon Charge meter that starts6 * Dragon Mode (×2 + extra wilds), wilds that expand in free spins, Rune free spins.7 */8export const dragonCore = defineGame({9  slug: "dragon-core",10  name: "Dragon Core",11  version: "1.0.0",12  tagline: "Twenty scales wake the dragon.",13  description:14    "A sleeping dragon powers a fortress reactor, and every Dragon Scale you collect feeds the Dragon Charge. At twenty the beast wakes: eight Dragon Mode spins with a ×2 multiplier and extra wilds breathed onto the grid. Dragon Wilds expand across their reels in any free-spin round, and Reactor Runes trigger the standard feature.",15  theme: "fantasy energy reactor",16  tags: ["ways", "meter", "expanding-wilds", "free-spins", "multiplier"],17  grid: { reels: 5, rows: 4 },18  payModel: { type: "ways" },19  rtp: 0.96,20  volatility: "high",21  maxMultiplier: 6000,22  symbols: [23    wildSym("W", "Dragon Wild", [0, 1.5, 1.5, 1.5, 0], { shape: "flame", color: "#ef4444", accent: "#ffd166", glow: 1 }, { freeSpinWeight: [0, 0.8, 0.8, 0.8, 0] }),24    scatterSym("S", "Reactor Rune", 1.3, { shape: "star", color: "#22d3ee", accent: "#ffffff", glow: 0.9 }),25    sym("DC", "Dragon Scale", "special", null, 1.2, { shape: "shield", color: "#b91c1c", accent: "#ffd166", glow: 0.8 }, { kind: "charge" }),26    sym("P1", "Dragon Heart", "premium", { 3: 5, 4: 14, 5: 48 }, 2.8, { shape: "gem", color: "#ef4444", accent: "#fff1c2", glow: 0.9 }),27    sym("H1", "Dragon Eye", "high", { 3: 3.2, 4: 8, 5: 24 }, 3.8, { shape: "eye", color: "#f59e0b", accent: "#fef3c7", glow: 0.6 }),28    sym("H2", "Claw Talon", "high", { 3: 2.4, 4: 6.5, 5: 19 }, 4.2, { shape: "gauge", color: "#e5e7eb", accent: "#ffffff", glow: 0.6 }),29    sym("M1", "Ember Crystal", "mid", { 3: 1.6, 4: 4, 5: 11 }, 5.5, { shape: "crystal", color: "#fb923c", accent: "#ffedd5", glow: 0.3 }),30    sym("M2", "Rune Stone", "mid", { 3: 1.3, 4: 3.2, 5: 8 }, 6, { shape: "hex", color: "#6b7280", accent: "#22d3ee", glow: 0.3 }),31    sym("L1", "Ruby Shard", "low", { 3: 0.65, 4: 1.6, 5: 4 }, 6.5, { shape: "diamond", color: "#dc2626", glow: 0.2 }),32    sym("L2", "Amber Shard", "low", { 3: 0.65, 4: 1.6, 5: 4 }, 6.5, { shape: "diamond", color: "#f59e0b", glow: 0.2 }),33    sym("L3", "Emerald Shard", "low", { 3: 0.5, 4: 1.3, 5: 3.2 }, 6.5, { shape: "diamond", color: "#10b981", glow: 0.2 }),34    sym("L4", "Sapphire Shard", "low", { 3: 0.5, 4: 1.3, 5: 3.2 }, 6.5, { shape: "diamond", color: "#3b82f6", glow: 0.2 }),35    sym("L5", "Amethyst Shard", "low", { 3: 0.5, 4: 1.3, 5: 3.2 }, 6.5, { shape: "diamond", color: "#a855f7", glow: 0.2 }),36    sym("L6", "Onyx Shard", "low", { 3: 0.5, 4: 1.3, 5: 3.2 }, 6.5, { shape: "diamond", color: "#374151", accent: "#9ca3af", glow: 0.1 }),37  ],38  betDivisor: 25,39  wild: { id: "W", expanding: "freeSpins" },40  scatter: { id: "S", triggers: { 3: 8, 4: 12, 5: 16 }, retrigger: true },41  meter: {42    id: "dragon",43    name: "Dragon Charge",44    symbolId: "DC",45    max: 20,46    onFull: { type: "freeSpins", spins: 8, multiplier: 2, extraWildChance: 0.35, label: "Dragon Mode" },47  },48  presentation: {49    palette: { primary: "#ef4444", secondary: "#ffd166", glow: "#f97316", bg: "#0b0405", surface: "#1a0a0c" },50    particles: "fire",51    ambience: "dragon",52    frame: "stone",53    backdrop: "core",54  },55  rules: [56    "Wins pay left to right on adjacent reels across 1,024 ways.",57    "The Dragon Wild substitutes for every symbol except Reactor Runes and Dragon Scales (reels 2–4). In any free-spin round it expands to cover its whole reel.",58    "Every Dragon Scale charges the Dragon Charge meter (20 to fill). A full meter starts 8 Dragon Mode spins with a ×2 multiplier and a 35% chance of extra wilds on each spin.",59    "The Dragon Charge keeps its progress between rounds and keeps charging during free spins.",60    "3, 4 or 5 Reactor Runes award 8, 12 or 16 free spins with retriggers.",61    "Maximum win per round: 6,000× the bet.",62  ],63});64