FlashTrader
A clicker-style browser trading game on real historical prices that fits in under 15 KB and plays fully offline, with an optional online head-to-head mode.
My contribution
Compressed historical market data with Huffman coding and curvature-based segmentation to fit the under-15-KB offline constraint.
- Affiliation
- TartanHacks 2026
- Dates
- 2026
- Role
- Hackathon build
- Topics
- Software
- Tools
- JavaScript, Huffman coding, Curve segmentation
01
The problem
A short, clicker-style browser trading game played on real historical stock prices, built for TartanHacks 2026's Axon by AppLovin prize track. The track required the whole game in under 15 KB, fully playable offline.
02
Constraints
Under 15 KB compressed, full offline play, and zero network requests at runtime.
03
Design decisions
Huffman coding plus curvature-based segmentation of the price curves compresses the market data. Offline single-player is the core, with networked head-to-head play (host, or join with a 4-digit code) layered on when a connection exists.
04
Evidence
The full game fits under 15 KB and is playable at flashtrades.netlify.app.
05
Current status
Complete hackathon build, playable online.
References and context
Background material and tools. Not personal publications.