added opponent position, sample time and battery to state
lots of improvements