← BACK TO WORK ARCHIVE
EQUIPMENT.MANAGER // 2024

CLASH FORGE

A specialized resource optimizer and upgrade calculator for Clash of Clans Hero Equipment economics.

ROLE

Solo Product Engineer

STACK

Next.js / TypeScript / TailwindCSS / Vercel

YEAR

2024

STATUS

[Shipped]
01 // Context & Rationale

Context & Background

Clash of Clans introduced multi-tier ore currencies (Shiny, Glowy, Starry) with non-linear upgrade curves and hero level caps. Players lacked clear visibility into upgrade costs and time requirements.

02 // Core Problem

Problem Statement

Calculating multi-tier ore costs across multiple pieces of equipment required complex spreadsheet tracking. Players needed an instantaneous, zero-latency tool with accurate level constraints and resource deficit calculations.

03 // Technical Constraints & Non-Negotiables
01.

Zero latency UI: instant recalculation on every slider or level toggle

02.

Mobile-first design for players using phones while playing on iPad or PC

03.

Persistent local state so users do not lose their progression configuration between visits

04 // System Architecture

Architectural Blueprint

A lightweight client-driven calculation engine backed by typed equipment cost matrices and local storage synchronization.

Ore Calculation Engine

Pure functional accumulator aggregating ore totals, deficits, and day estimates.

Equipment Matrix Store

Immutable lookup table defining upgrade costs per level for Common and Epic gear.

State Persistence Layer

LocalStorage hook maintaining player equipment levels and daily ore income rates.

05 // Key Technical Decisions

Implementation Choices & Outcomes

DECISION 01

Pure client-side state without database requirements

RATIONALE

User equipment progression is personal data that requires no multi-user sync, allowing zero authentication friction.

OUTCOME

100% uptime, instant page load, zero operating database costs.

DECISION 02

Game-faithful visual language with industrial readability

RATIONALE

Familiar color coding for Shiny/Glowy/Starry ores creates instant cognitive mapping for players.

OUTCOME

High engagement and intuitive usability without requiring user onboarding.

06 // Engineering Tradeoffs

Architectural Tradeoffs

LocalStorage vs authenticated cloud sync

ADVANTAGES GAINED
  • + No login barrier, privacy-preserving, immediate utility
CONCESSIONS / TRADEOFFS
  • - Configurations do not automatically synchronize across multiple devices unless exported manually
07 // Performance Findings

Optimization Strategies

  • ⚡Memoized calculation loops executing in under 1ms
  • ⚡Zero external API dependencies during runtime
  • ⚡Lightweight bundle footprint under 50KB total JavaScript
08 // Technical Hurdles

Challenges Solved

  • #Accurately mapping different level cap tiers according to Town Hall level prerequisites
  • #Designing a compact matrix layout that remains fully operable on 375px mobile screens
09 // Technical Retrospective

Retrospective & Next Iteration

An export/import URL hash state feature would enable sharing progression paths and upgrade schedules via compact permalinks without requiring user accounts.

VISUAL.DATA // PROJECT CAPTURES

Interface & Execution Records

The Frustration. Hero equipment in Clash of Clans introduced a complex currency system: Shiny, Glowy, and Starry Ores. Tracking these manually across multiple levels and equipment pieces became a spreadsheet nightmare.
CLASH FORGE visual capture 1
The Solution. Clash Forge is a specialized calculator that simplifies this chaos. Select your equipment, goal level, and current resources to see an instant breakdown of the grind ahead.
CLASH FORGE visual capture 2
The Interface. Built for speed and clarity. A clean, game-faithful UI that cuts through the noise, letting players focus on what matters: planning their upgrades and maximizing their war performance.
FIG_3.0 // ARCHIVAL_FRAME
NEXT CASE STUDY // 004 →

DINO 3D