Colour Memo – HTML5 Game
Colour Memo Overview & Canvas-Based Memory Game Architecture
Colour Memo is an HTML5 memory game engineered for web developers and agencies to deploy a working-memory challenge that runs directly in desktop and mobile browsers. The package solves a specific gameplay-engineering problem: tracking which colour tiles have already been selected across a shuffled grid while a countdown timer applies pressure, with any repeated click breaking the round. In production workflows, it operates as a self-contained front-end asset that drops into client sites, learning portals, or WebView containers and can be fully reskinned through the included layered PSD source files.
Technical Specifications & Deployment Matrix
| Engineering Metric | Deployment Specification |
|---|---|
| Base Technology / Framework | HTML5 built on the CreateJS library; source files in JavaScript JS, HTML, CSS, and PHP |
| Render Resolutions | 1280×768 (landscape) and 768×1024 (portrait), scaling proportionally to the active viewport with devicePixelRatio-aware rendering |
| Browser Compatibility | IE9, IE10, IE11, Firefox, Safari, Opera, Chrome, Edge |
| Input Layer | Mouse and touch controls through unified event handling |
| Package Contents | HTML5 source files, layered Photoshop PSD, documentation, changelog |
| Optional Add-on | Leaderboard system supporting score submission and Top 10 rankings (requires the base game) |
| Fallback Layer | Dedicated browser-not-supported page |
Working-Memory Game Loop & Execution Pipeline
The engine renders each round on a CreateJS canvas stage, dispatching pointer and touch events against a grid of colour memo tiles. A round presents the tiles on screen, and the player must click every memo exactly once — the core constraint is recall, since selecting a colour already touched invalidates the sequence. Behind the presentation layer, configurable mode settings define the difficulty envelope: countdown timer duration, total memo count, score rules, and whether the grid reshuffles mid-round to raise cognitive load. Difficulty is partitioned into Easy, Medium, and Hard presets, each mapping to a distinct combination of those parameters.
Reskinning is handled through two coordinated layers. Designers edit the layered PSD to regenerate tile sprites and interface imagery, while developers adjust the settings objects that control animation speed, font colour, and whether tiles display a colour code or a colour name. This separation keeps visual iteration independent of logic changes, so a brand-aligned build never requires touching the game loop itself. For studios assembling a multi-title casual catalogue rather than a single embed, HTML5 Game Bundle Volume 1 ships an independent collection of Construct 3 builds as a separate acquisition path outside this codebase.
Architectural & Functional Highlights
- Three challenge modes: Easy, Medium, and Hard presets alter timer, memo count, and shuffle behaviour so one build serves multiple skill tiers without separate compilations.
- Configurable mode settings: Timer, Total Memo, Score, and Shuffle Memo parameters are exposed as adjustable settings rather than hard-coded constants, letting deployers tune session length and difficulty.
- Colour display control: Tiles can render by colour code or colour name, allowing reskinners to align the visual vocabulary with a specific palette or educational context.
- Social score sharing: Completed scores can be posted to Facebook, Twitter, WhatsApp, Telegram, Reddit, or LinkedIn through the built-in share layer, alongside basic controls for fullscreen, sound muting, and exiting the game.
- Optional leaderboard add-on: A separate add-on layer introduces score submission and a Top 10 ranking view; it depends on the base game and cannot execute standalone.
Production Deployment & Implementation Considerations
Deploying the build requires only standard static hosting: the ZIP contents upload to any web server, and gameplay itself runs client-side without server-side rendering. The distribution includes a dedicated browser-not-supported page, so environments running pre-HTML5 engines receive a controlled fallback instead of a broken canvas. Scaling is handled at the render layer — the stage auto-resizes across landscape and portrait orientations, and devicePixelRatio compensation added in version 1.2 keeps tiles crisp on high-density displays. Implementation boundaries are clearly defined: the leaderboard add-on requires the base game to function, so any deployment that needs ranked score submission must be planned around both packages together. The customization scope covers the full presentation surface — text display, image assets, animation speed, font colour, and colour presentation mode — plus the underlying mode parameters. For teams evaluating a decoupled puzzle alternative on a separate Construct 3 runtime, River Crossing remains an independent logic-game option that operates entirely outside this codebase.
Frequently Asked Questions
Are the layered Photoshop source files included in the download?
Yes, the package ships with a layered PSD alongside the JavaScript, HTML, and CSS source files, so designers can regenerate every visual asset without reverse-engineering exported sprites or editing the compiled page markup by hand.
Can the leaderboard add-on run as a standalone module?
No, the add-on is an additional feature layer that requires the base game in order to work. It extends the existing build with score submission and a Top 10 rankings view, so deployments needing competitive scoring must include both components.
Has the HTML5 template received ongoing maintenance and social share fixes?
Yes, the changelog records continuous revisions: version 1.2 rebuilt the template and added Telegram, Reddit, and LinkedIn sharing, version 1.3 fixed template and share defects, and version 1.4 updated the codebase to the 2026 template.