this was inspired by a super-talented developer calling the game 'complicated' -- we figured it wasn't actually that many lines of code, and hence not so complicated after all. After writing it, I realize that the state change between offense and defense happens quite a bit. :)
Pretty succinct piece of code to explain something that might take a lot of words to do the same. Good show.