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.9 KB · 65 lines typescript
Raw Blame History
1import { defineGame, scatterSym, sym, wildSym } from "@spinza/game-core";23/**4 * GAME 11 — VOID MINER5 * Asteroid mining. 5×4, 1024 ways, Dark Matter Core meter that levels up a6 * persistent win multiplier (×1 → ×5), random Drill wilds, Warp free spins.7 */8export const voidMiner = defineGame({9  slug: "void-miner",10  name: "Void Miner",11  version: "1.0.0",12  tagline: "Feed the core. Every level pays more.",13  description:14    "Drill through the belt for iron, cobalt, platinum and the rare Void Diamond. Every fragment of Dark Matter you haul in charges the Core; each full charge raises the Core Level and multiplies every win ×2, ×3, ×4, up to ×5 until the Warp free spins reset it. Drill Wilds punch through the grid at random.",15  theme: "asteroid mining",16  tags: ["ways", "meter", "multiplier", "random-wilds", "free-spins"],17  grid: { reels: 5, rows: 4 },18  payModel: { type: "ways" },19  rtp: 0.96,20  volatility: "medium",21  maxMultiplier: 4000,22  symbols: [23    wildSym("W", "Drill Wild", [0, 1.6, 1.6, 1.6, 0], { shape: "pickaxe", color: "#fbbf24", accent: "#ffffff", glow: 1 }),24    scatterSym("S", "Warp Beacon", 1.3, { shape: "star", color: "#c084fc", accent: "#ffffff", glow: 0.9 }),25    sym("DM", "Dark Matter", "special", null, 1.1, { shape: "orb", color: "#1e1b4b", accent: "#a78bfa", glow: 0.9 }, { kind: "charge" }),26    sym("P1", "Void Diamond", "premium", { 3: 7.5, 4: 22, 5: 75 }, 2.8, { shape: "diamond", color: "#e9d5ff", accent: "#ffffff", glow: 0.9 }),27    sym("H1", "Platinum Ore", "high", { 3: 5, 4: 12, 5: 37 }, 3.8, { shape: "gem", color: "#e5e7eb", accent: "#ffffff", glow: 0.6 }),28    sym("H2", "Plasma Vein", "high", { 3: 3.75, 4: 10, 5: 30 }, 4.2, { shape: "flame", color: "#f472b6", accent: "#fce7f3", glow: 0.6 }),29    sym("M1", "Titanium Ore", "mid", { 3: 2.5, 4: 6, 5: 17 }, 5.5, { shape: "ore", color: "#94a3b8", accent: "#e2e8f0", glow: 0.3 }),30    sym("M2", "Cobalt Ore", "mid", { 3: 2, 4: 5, 5: 12 }, 6, { shape: "drill", color: "#3b82f6", accent: "#bfdbfe", glow: 0.3 }),31    sym("L1", "Iron Ore", "low", { 3: 1, 4: 2.5, 5: 6 }, 6.5, { shape: "circle", color: "#b45309", glow: 0.2 }),32    sym("L2", "Nickel Ore", "low", { 3: 1, 4: 2.5, 5: 6 }, 6.5, { shape: "satellite", color: "#a8a29e", glow: 0.2 }),33    sym("L3", "Carbon Chunk", "low", { 3: 0.75, 4: 2, 5: 5 }, 6.5, { shape: "crystal", color: "#4b5563", accent: "#9ca3af", glow: 0.1 }),34    sym("L4", "Ice Rock", "low", { 3: 0.75, 4: 2, 5: 5 }, 6.5, { shape: "snow", color: "#7dd3fc", glow: 0.2 }),35    sym("L5", "Copper Ore", "low", { 3: 0.75, 4: 2, 5: 5 }, 6.5, { shape: "diamond", color: "#f97316", glow: 0.2 }),36    sym("L6", "Silica Rock", "low", { 3: 0.75, 4: 2, 5: 5 }, 6.5, { shape: "star", color: "#d6d3d1", glow: 0.1 }),37  ],38  betDivisor: 25,39  wild: { id: "W", floating: { chance: 0.06, min: 1, max: 2 } },40  scatter: { id: "S", triggers: { 3: 8, 4: 10, 5: 12 }, retrigger: true },41  meter: {42    id: "darkmatter",43    name: "Dark Matter Core",44    symbolId: "DM",45    max: 10,46    onFull: { type: "multiplierLevel", ladder: [1, 2, 3, 4, 5], label: "Core Level Up" },47    resetOnBonus: true,48  },49  presentation: {50    palette: { primary: "#a78bfa", secondary: "#fbbf24", glow: "#c084fc", bg: "#050409", surface: "#0f0c1a" },51    particles: "dust",52    ambience: "mine",53    frame: "metal",54    backdrop: "asteroids",55  },56  rules: [57    "Wins pay left to right on adjacent reels across 1,024 ways.",58    "Every Dark Matter symbol charges the Core (10 to fill). Each full charge raises the Core Level: all wins are multiplied ×1, ×2, ×3, ×4, then ×5.",59    "The Core keeps its charge and level between rounds; the level resets to ×1 when Warp free spins are triggered.",60    "The Drill Wild substitutes for every symbol except Warp Beacons and Dark Matter (reels 2–4) and may drop 1 or 2 extra wilds on any spin.",61    "3, 4 or 5 Warp Beacons award 8, 10 or 12 free spins with retriggers.",62    "Maximum win per round: 4,000× the bet.",63  ],64});65