Seed for an exercise in writing a JavaScript game