


Welcome to MBT Minigames!
This repository contains a collection of exciting mini games designed to be used as dependencies in our future releases.
Each mini game offers a unique and immersive gaming experience.
Explore the thrilling world of cybersecurity by playing our engrossing Hacking Minigame!
Bring out your inner hacker as you race against time to figure out the mysterious pattern of numbers and break the encryption before it's too late.
Immerse yourself in the futuristic, slick interface that takes you right into the hacking world. From the very first second to the very last, you'll be caught by the captivating images and exciting design.
✅ Wire Fix minigame — dynamic pipe puzzle with BFS-guaranteed solvable layouts and tile shuffle mechanic
✅ Bolt Turn minigame — physics tension system with per-bolt heat management and sweet-spot detection
✅ Code Match minigame — vertical hex stream with rhythm-based Space-bar matching
✅ Unified export API — `startRepairSession({ type, ... })` covers all four minigames with a single call
✅ Per-call param overrides — any difficulty value (time, count, speed) can be overridden per export call
✅ Animation override support — pass custom animation tables or `false` to skip animations entirely
✅ Debug commands — `/testminigame` and `/testscene` for development testing
⚙️ React UI fully rebuilt — Zustand state management, Framer Motion animations, 60fps code match stream
⚙️ Session system rewritten — unique session IDs with 120s auto-cleanup and resource-stop safety
⚙️ Config restructured — all minigame settings now under `MBT.Minigames[type]` with `locale`, `animation`, and `difficulties` sub-tables
⚙️ Hacking minigame updated to use v2 NUI callback API (`minigameEnd` with sessionId + outcome)
Test this script in real-time on our live server before you commit.
Cybersecurity-themed hacking minigame.
Crack number patterns before time runs out.
Configurable countdown for each attempt.
Easy integration via export for any script.
Sleek futuristic hacking interface.
Used by MBT Elevator and other scripts.