point the gun, paint and minimize movement

minimizeRotation picks the shortest arc to swing to the desired point
gun now points in the right direction with the desired arrow (Magenta)
summary of painting
Gun arrow(line)
Opponent Path(line)+Speed(Box size)+Health(Color)
Self-Health(box color)