Firefly Mahjong
More games like this
Immerse yourself in the tranquil world of Firefly Mahjong, where ancient puzzle gameplay meets enchanting garden aesthetics. Match identical tiles to clear the board while fireflies dance around you and soothing ambient music plays in the background. โจ FEATURES: โข 50 Unique Levels - From beginner to master difficulty โข Endless Mode - Infinite challenge after completing all levels โข Beautiful Procedural Graphics - Crisp, scalable tile designs โข Relaxing Ambient Music - Procedurally generated soundscape โข Smart Hint System - Never get stuck for long โข Undo & Shuffle - Strategic second chances โข Progress Saving - Pick up where you left off โข Fully Responsive - Play on any device โข Combo System - Fast matches earn bonus points โข Solvable Guarantee - Every level is 100% winnable ๐ฎ HOW TO PLAY: Tap two identical free tiles to match and remove them. A tile is "free" when nothing sits on top of it and at least one side (left or right) is open. Clear all tiles before time runs out! ๐ PERFECT FOR: โข Relaxation & Stress Relief โข Brain Training & Memory โข Mahjong Enthusiasts โข Puzzle Game Lovers โข All Ages (Kid-Friendly) No downloads required - play instantly in your browser!
Game Options
๐ฏ Difficulty Levels
Firefly Mahjong features 50 carefully crafted levels that gradually increase in complexity:
- Levels 1-10: Beginner (14-140 tiles) - Perfect for learning the rules
- Levels 11-20: Intermediate (158-308 tiles) - Build your skills
- Levels 21-30: Advanced (340+ tiles) - Challenge yourself
- Levels 31-40: Expert - Complex layouts
- Levels 41-50: Master - Maximum difficulty
- Endless Mode: Infinite random boards after completing Level 50
Power-Ups & Tools
- ๐ก Hint (5 uses): Highlights a matching pair when you're stuck
- ๐ Shuffle (3 uses): Rearranges remaining tiles into a new solvable layout
- โฉ๏ธ Undo: Revert your last move (unlimited uses)
๐ Scoring System
- Base Points: 100 points per match
- Combo Bonus: Match tiles quickly to build combos (up to 8x multiplier!)
- Star Rating: Earn 1-3 stars per level based on speed and efficiency
- Best Score Tracking: Your highest score and best time saved for each level
๐จ Visual & Audio Settings
- ๐ Sound Effects: Toggle wooden tile clacks and match sounds
- ๐ต Ambient Music: Procedurally generated relaxing soundscape (Cmaj7-Am7-Fmaj7-G7 progression)
- Responsive Design: Automatically adapts to any screen size
How to Play
๐ฒ Basic Rules
- Select Tiles: Click or tap on a free tile to select it (it will glow)
- Match Pairs: Click on another free tile with the same design to remove both
- Clear the Board: Remove all tile pairs to complete the level
โ What Makes a Tile "Free"?
A tile can only be selected if BOTH conditions are met:
- No tiles on top: The tile must not be covered by any tile from a higher layer
- Side is open: At least one side (left OR right) must have no adjacent tile on the same layer
๐ก Tip: Free tiles are slightly elevated and have a subtle glow when you hover over them.
Tile Types
The game features 42 unique tile designs across 6 categories:
- Dots (Circles): Numbers 1-9 with colored dots
- Bamboo: Green bamboo sticks (1-9)
- Characters: Chinese numerals ่ฌ (1-9)
- Winds: East (E), South (S), West (W), North (N)
- Dragons: Red (ไธญ), Green (็ผ), White
- Flowers: Plum, Orchid, Bamboo, Chrysanthemum, Spring, Summer, Autumn, Winter
โฑ๏ธ Strategy Tips
- Work from the top: Always prioritize removing tiles from higher layers first
- Plan ahead: Don't just match the first pair you see - think about what tiles you'll unlock
- Build combos: Match tiles quickly (within 3.2 seconds) to earn combo multipliers
- Use hints wisely: Save your hints for when you're truly stuck
- Watch the edges: Edge tiles are often the key to unlocking the board
Earning 3 Stars
To achieve the maximum 3-star rating on each level:
- Complete the level quickly (under 4 seconds per tile pair)
- Use fewer than 3 hints
- Maintain high combos throughout the game
Technical Features
๐ป Technology
- Built With: Pure HTML5 Canvas + Vanilla JavaScript (ES6)
- No External Dependencies: Zero libraries - lightweight and fast
- File Size: Under 50KB (incredibly lightweight!)
- Instant Loading: No downloads, no installations
๐จ Procedural Graphics
All tiles are drawn dynamically using Canvas API - no image files needed:
- Vector-Based: Perfect quality on any screen resolution (Retina/4K support)
- 3D Effects: Realistic tile depth with shadows and highlights
- Smooth Animations: 60 FPS particle effects and tile movements
- Adaptive Sizing: Tiles automatically resize from 28px to 96px based on screen
๐ต Procedural Audio
Web Audio API generates all sounds in real-time:
- Sound Effects: Wooden percussion, marimba tones, match celebrations
- Ambient Music: Dreamy chord progressions with sparse bell notes
- Zero Bandwidth: No MP3 files to download
- Smooth Transitions: Cross-fading chords for seamless loops
๐พ Smart Save System
- LocalStorage: Progress automatically saved in browser
- What's Saved: Highest unlocked level, best scores, times, stars, settings
- Privacy: All data stored locally - no servers, no tracking
- Cross-Session: Close browser and return anytime - your progress is safe
๐ฑ Responsive Design
- Mobile-First: Touch-optimized controls
- Orientation Support: Works in portrait and landscape
- Safe Areas: Properly handles notches and home indicators
- Breakpoints: Optimized layouts for 320px to 1920px+ screens
โฟ Accessibility
- Keyboard Navigation: Full keyboard support for desktop users
- Visual Clarity: High contrast, clear tile designs
- Reduced Motion: Respects system preferences for animations
- Color Blind Friendly: Tiles distinguished by patterns, not just colors