Personally, I would opt to not allow '$' as a variable. So, let's say a single '$' is not allowed (although it makes the code nicely obscure). But that still makes BrianTX's script the best scorer.
_________________________
There are two types of vessels, submarines and targets.