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.3 KB · 54 lines typescript
Raw Blame History
1import { defineGame, scatterSym, sym, wildSym } from "@spinza/game-core";23/**4 * GAME 02 — COSMIC COLLAPSE5 * Deep-space singularities. 6×4 ways, cascading symbols, gravity multipliers6 * (x1 → x13), black-hole wilds that swallow their neighbours.7 */8export const cosmicCollapse = defineGame({9  slug: "cosmic-collapse",10  name: "Cosmic Collapse",11  version: "1.0.0",12  tagline: "Every collapse pulls the multiplier higher.",13  description:14    "Matter falls into a singularity. Winning symbols collapse and new ones drift in, raising the gravity multiplier with each cascade: ×1, ×2, ×3, ×5, ×8, ×13. Black-hole wilds swallow surrounding symbols and trigger chain collapses. In the Event Horizon free spins the multiplier never resets.",15  theme: "deep-space singularities",16  tags: ["ways", "cascades", "multiplier", "free-spins"],17  grid: { reels: 6, rows: 4 },18  payModel: { type: "ways" },19  rtp: 0.961,20  volatility: "high",21  maxMultiplier: 10000,22  symbols: [23    wildSym("W", "Black Hole", [0, 1.1, 1.1, 1.1, 1.1, 0], { shape: "orb", color: "#0b0b14", accent: "#a78bfa", glow: 1 }),24    scatterSym("S", "Singularity", 1.3, { shape: "star", color: "#f5d0fe", accent: "#ffffff", glow: 1 }, { 3: 3, 4: 12, 5: 40, 6: 120 }),25    sym("P1", "Quasar", "premium", { 3: 3, 4: 8, 5: 25, 6: 80 }, 2.6, { shape: "ring", color: "#fde68a", accent: "#fff7d6", glow: 0.9 }),26    sym("H1", "Pulsar", "high", { 3: 2, 4: 5, 5: 15, 6: 40 }, 3.6, { shape: "atom", color: "#67e8f9", accent: "#ecfeff", glow: 0.6 }),27    sym("H2", "Nebula", "high", { 3: 1.5, 4: 4, 5: 10, 6: 30 }, 4, { shape: "wave", color: "#c084fc", accent: "#f3e8ff", glow: 0.6 }),28    sym("M1", "Comet", "mid", { 3: 1, 4: 2.5, 5: 6, 6: 15 }, 5.5, { shape: "comet", color: "#fb7185", accent: "#ffe4e6", glow: 0.3 }),29    sym("M2", "Asteroid", "mid", { 3: 0.8, 4: 2, 5: 5, 6: 12 }, 6, { shape: "meteor", color: "#a3a3a3", accent: "#e5e5e5", glow: 0.2 }),30    sym("L1", "Blue Dwarf", "low", { 3: 0.4, 4: 1, 5: 2.5, 6: 6 }, 8.5, { shape: "planet", color: "#60a5fa", glow: 0.2 }),31    sym("L2", "Red Dwarf", "low", { 3: 0.4, 4: 1, 5: 2.5, 6: 6 }, 8.5, { shape: "circle", color: "#f87171", glow: 0.2 }),32    sym("L3", "Ion Shard", "low", { 3: 0.3, 4: 0.8, 5: 2, 6: 5 }, 9.5, { shape: "crystal", color: "#34d399", glow: 0.2 }),33    sym("L4", "Dust Mote", "low", { 3: 0.3, 4: 0.8, 5: 2, 6: 5 }, 9.5, { shape: "diamond", color: "#fbbf24", glow: 0.2 }),34  ],35  betDivisor: 50,36  wild: { id: "W", exploding: true },37  scatter: { id: "S", triggers: { 3: 10, 4: 12, 5: 15, 6: 20 }, retrigger: true },38  cascades: { multipliers: [1, 2, 3, 5, 8, 13], persistInFreeSpins: true, maxCascades: 25 },39  presentation: {40    palette: { primary: "#a78bfa", secondary: "#67e8f9", glow: "#c084fc", bg: "#03030a", surface: "#0a0a1c" },41    particles: "stars",42    ambience: "space",43    frame: "glass",44    backdrop: "nebula",45  },46  rules: [47    "Wins pay left to right on adjacent reels across 4,096 ways.",48    "Winning symbols collapse and new symbols fall in. Each collapse raises the gravity multiplier: ×1, ×2, ×3, ×5, ×8, ×13.",49    "The Black Hole is wild and swallows all regular symbols around it, causing an extra collapse.",50    "3+ Singularities trigger Event Horizon free spins (10/12/15/20). During free spins the gravity multiplier never resets.",51    "Maximum win per round: 10,000× the bet.",52  ],53});54