Simple 80s-style video game in JavaScript+Canvas