SOVANN / App

TileFlow

TileFlow is a mobile-first tile-matching puzzle game where players connect identical fruit tiles using a clear path with no more than two turns. The goal is to...

7/14/2026Views: 0Launches: 0

TileFlow Project Report

1. The Concept

TileFlow is a mobile-first tile-matching puzzle game where players connect identical fruit tiles using a clear path with no more than two turns. The goal is to clear every pair, complete ten increasingly challenging levels, and unlock the full progression journey.

The game was designed to feel like a polished casual mobile title rather than a traditional web application. It combines responsive puzzle gameplay with illustrated game artwork, selectable backgrounds, persistent progress, statistics, sound settings, and purpose-built game menus.

2. The Stack

The Stack: HTML5, CSS3, vanilla JavaScript, browser localStorage, the Web Audio API, and transparent PNG game artwork. The project has no framework, external UI library, package dependency, or build process.

The AI Assist: Codex supported the project throughout the design and implementation process. It helped translate visual references and written specifications into reusable game systems, responsive layout behavior, generated raster UI assets, popup interactions, localStorage persistence, gameplay theme support, level progression, debugging, and project documentation.

3. The 1 Day Sprint

Morning (Hours 1–3): The first stage focused on establishing the core TileFlow experience. The gameplay rules, fruit-tile matching logic, valid connection paths, ten-level configuration, level progression, timer, scoring, hint system, shuffle system, restart flow, and localStorage structure were organized into a working single-page game.

Afternoon (Hours 4–6): The second stage focused on turning the functional prototype into a complete mobile game lobby and gameplay experience. The Home screen was redesigned, the Current Level and theme systems were connected to saved data, gameplay backgrounds were integrated, and the HUD, action bar, badges, spacing, and board scaling were refined for different board dimensions and screen sizes.

The project also received a complete collection of image-based casual-game menus, including Settings, Pause, Level Complete, No More Moves, Restart Level, All Levels Cleared, and Choose Theme. Transparent PNG artwork was used for the visual presentation while invisible interaction areas preserved accessible and reliable controls.

The Finish Line (Hours 7–8): The final stage focused on consistency and polish. The gameplay screen was divided into fixed HUD and action-bar regions with a flexible board area between them. A reusable board-layout calculation now scales every level without stretching tiles or overflowing the screen. The Next Level flow was updated to launch the following level immediately, theme selection was connected to the real background artwork, JavaScript syntax was verified, and the project README and report were completed.

4. The Roadblocks

Roadblocks: The largest challenge was keeping ten differently shaped boards visually balanced while preserving fixed HUD and action controls. A board that looked correct for a square level could leave excessive empty space or overflow when used with a wide or tall level. This was resolved by calculating tile size from both the available width and height and always using the smaller result.

Another challenge was matching the premium mobile-game presentation without constructing the requested menus from ordinary web shapes. The solution was to generate complete raster artwork as transparent PNG assets and layer invisible HTML buttons over the illustrated controls. This preserved the intended game-art quality while maintaining functional interactions, accessibility labels, saved settings, and responsive scaling.

Maintaining a consistent experience across mobile and desktop also required several spacing refinements. The HUD, board, and action bar initially moved differently depending on board size. Converting the gameplay screen into clearly defined layout regions made the surrounding UI stable while allowing only the board and tiles to resize.

5. Key Takeaways

A polished casual game needs more than working mechanics. Consistent spacing, clear feedback, responsive scaling, saved progression, and cohesive artwork all contribute to the player’s perception of quality.

Reusable configuration was essential. Centralized LEVELS, THEMES, action settings, and board-layout calculations made it possible to expand and refine the project without scattering hardcoded values throughout the code.

Image-based game UI and semantic web controls can work together effectively. The PNG artwork delivers the visual identity, while accessible interaction layers provide reliable gameplay behavior.

Testing the extremes of the level system is as important as testing the first level. Wide, tall, small, and dense boards exposed layout problems that were not visible on a single configuration.

My final thought: TileFlow demonstrates how a focused one-day sprint can transform a simple matching-game concept into a cohesive and expandable mobile puzzle experience. The finished project has a strong foundation for future levels, themes, progression features, sound design, animation, and additional game modes.