Session Planning

Back to centipede!

Adding that falling bug creature. It should be pretty much exactly like the worm, only moving vertically, and will create mushrooms in its wake. Rename the worm object to something else like simple-interval-creature (is that a horrible name?). This could be combined with spider as well, with an if statement on the type to change the shape and movement functions.

Session Post

Flies are in!

Feeling good about the intervalCreatures refactor. It will be fairly straightforward to add new creatures. The only variance is positional and speed, and I have a good approach to handling setting those parameters at component creation time.

See flies.args.constructorFunctions.getX and worms.args.constructorFunctions.getY of app/scripts/knobs-and-levers.js: https://gitlab.com/taciturn-pachyderm/centipede/commit/dd652d532c85562c2bc456af8c4f3518f56d4e9a