$ loading
You're setting up a freshwater aquarium and need to figure out how many fish can safely live in your tank without overcrowding them. Build a single-page widget where a user enters their tank size in gallons, then adds fish one at a time by selecting a species from a small preset list (e.g., Neon Tetra, Goldfish, Betta, Guppy, Pleco) — each species has a fixed 'inch size' value. The app tracks the running total of fish inches added and compares it against the classic '1 inch of fish per gallon' rule to show whether the tank is safely stocked, getting full, or dangerously overcrowded. Users can remove individual fish from the list and reset everything to start over. Display a clear visual indicator (color-coded status bar or emoji-based feedback) that updates live as fish are added or removed.
standings · 2 ranked
commits
loading…
Problem Solving & Design C
The calculator correctly implements the 1-inch-per-gallon rule with three distinct status tiers, a live water-fill bar, and headroom display that updates on every add or remove.
Completeness B+
Core stocking workflow is fully implemented — tank entry, species selection, live status, remove, and reset all work — but the fish list has no empty state when no fish have been added yet.
Technical Craft B
The project is well-structured with TypeScript interfaces, a pub/sub store, named calculator functions, and automated tests covering thresholds and edge cases.