added reset of "hasAttacked" at beginning of tick.  game somewhat playable now.