Pit Panic is a fast-paced, reflex-driven tile-matching arcade game where players must match incoming tiles before they fall into a deadly pit. Every missed match brings the characters closer to danger, creating constant tension and urgency.
Built with a focus on performance, modular architecture, and clean gameplay systems, Pit Panic is designed for WebGL and casual gaming platforms.
- Genre: Arcade / Puzzle / Reflex
- Platform: WebGL
- Engine: Unity
- Target Platforms: CrazyGames, Y8, Web Browsers
- Mode: Single Player
The objective is simple but intense:
match tiles correctly and quickly to prevent them from falling into the pit.
-
🔥 Fast-Paced Tile Matching Gameplay
Tiles move toward a pit and must be matched in pairs before time runs out. -
🛣️ Multi-Lane Tile System
Four independent lanes with smart spawning logic to avoid overlap. -
🎨 GPU-Instanced Rendering
Uses MaterialPropertyBlocks for efficient rendering and better WebGL performance. -
🧠 Modular & SOLID Architecture
Clean separation of systems such as spawning, matching, movement, and animation. -
⚡ WebGL Optimized
Designed for lightweight builds and smooth browser gameplay.
- Pair-based tile spawning using a shuffled pool system
- Texture-based tile matching (e.g., apple ↔ apple)
- Continuous tile movement toward the pit
- Match validation and fail-state handling
- Character danger / death trigger when tiles fall into the pit
- Unity Engine
- C#
- ScriptableObjects for tile data
- GPU Instancing with MaterialPropertyBlocks
- DOTween for animations
- Event-driven systems
- WebGL build optimization techniques
- Tile Manager – Controls tile lifecycle and movement
- Match Manager – Validates matches and triggers outcomes
- Spawn System – Smart lane selection with shuffled tile data
- Animation Controller – Script-driven animation playback without large AnimatorControllers
This project was built to:
- Demonstrate advanced Unity architecture
- Showcase performance-focused WebGL development
- Highlight clean C# design following SOLID principles
- Serve as a strong portfolio piece for game and software development roles
- Combo and scoring system
- Difficulty scaling
- Sound effects and feedback
- Leaderboards
- Additional tile themes and animations
Mohamed Hazeem
Unity & Full-Stack Developer
📍 India
Private / Proprietary Software
© 2025 Mohamed Hazeem. All rights reserved.
This repository is for portfolio and demonstration purposes only.
Unauthorized copying, redistribution, or commercial use is prohibited.