Match’n Gacha is a professional-grade mobile block-matching puzzle game that combines addictive match-3 mechanics with collectible trading card elements. Built with modern web technologies, it delivers a polished gaming experience with revolutionary risk/reward psychology.
This creates psychologically compelling “just one more try” moments that drive engagement.
Component | Technology | Purpose |
---|---|---|
Game Engine | Phaser.js 3.70.0 | High-performance 2D game framework |
Architecture | Component-based | Modular systems for maintainability |
Frontend | HTML5 + CSS3 + ES6 | Progressive Web App foundation |
Deployment | Docker + nginx | Containerized static site serving |
SSL/Proxy | Traefik v3.0 | Automatic HTTPS with Let’s Encrypt |
Storage | LocalStorage | Persistent game state and tokens |
PWA Support | Service Worker + Manifest | App store readiness |
/home/thrax/unified-services/match-n-gacha/
├── Dockerfile # nginx Alpine container
├── nginx.conf # Web server config with PWA support
└── public/
├── index.html # Main game page with mobile meta
├── manifest.json # PWA manifest for app stores
├── service-worker.js # Offline support
├── css/main.css # Mobile-responsive styles
├── js/
│ ├── main.js # Game initialization & config
│ ├── components/
│ │ ├── Block.js # Core block with drag support
│ │ ├── Grid.js # Grid container management
│ │ ├── PowerUp.js # Special block abilities
│ │ └── Collectible.js # Trading card visuals
│ ├── scenes/
│ │ ├── PreloadScene.js # Asset loading with fallbacks
│ │ ├── MenuScene.js # Main menu navigation
│ │ ├── GameScene.js # Core gameplay with swap logic
│ │ ├── MarketplaceScene.js # Trading interface
│ │ └── CollectionScene.js # Player collection view
│ └── systems/
│ ├── AssetManager.js # Modular loading with fallbacks
│ ├── ThemeManager.js # Hot-swappable visual themes
│ ├── GameStateManager.js # Persistent save system
│ ├── TokenSystem.js # Economy management
│ ├── LevelObjectiveSystem.js # Challenge generation
│ ├── CollectibleSystem.js # Item generation & rarity
│ └── MarketplaceSystem.js # Player-to-player trading
├── data/themes/ # JSON theme configurations
└── assets/ (placeholder structure)
├── sprites/ # Block, collectible, UI graphics
├── audio/ # Sound effects and music
└── themes/ # Theme-specific assets
The game features sophisticated pattern recognition:
Power-ups add strategic depth beyond basic matching:
Advanced trading card system with:
match-n-gacha:
build: ./match-n-gacha
container_name: match-n-gacha
restart: unless-stopped
networks:
- services-network
labels:
- traefik.enable=true
- traefik.http.routers.gacha.rule=Host(`gacha.playtopia.com.au`)
- traefik.http.routers.gacha.entrypoints=websecure
- traefik.http.routers.gacha.tls.certresolver=letsencrypt
# Build and deploy
cd /home/thrax/unified-services
docker compose build match-n-gacha --no-cache
docker compose up -d match-n-gacha
# View logs
docker compose logs -f match-n-gacha
# Quick file access
ls -la match-n-gacha/public/js/{components,scenes,systems}/
The game delivers a polished, commercial-quality experience with:
Match’n Gacha represents the culmination of professional game development practices, combining engaging gameplay mechanics with robust technical architecture to create an addictive puzzle experience that keeps players coming back for “just one more try.”