An old ActionScript game shows how inheritance, composition, state machines, and data-driven design can still improve modern web application architecture.