critter battle-code!
very many edits made

brain starting to hurt
lots of refactoring -- fighting with dangling pointers