README

Name: Antares
Version: 1.1.1
Type: microbot
Full name: tvv.micro.Antares 1.1.1
Codesize: 479 bytes
Color: 0xFFCA8A (Antares star color)

================================================================================
Requirements
================================================================================

JDK: 1.5+
Robocode: 1.7.4.1+
Maximal battlefield: 1200x1200

================================================================================
Functionality
================================================================================

Radar:
- the radar is adjusted for gun and for the robot
- the radar rotates infinitely
- if enemy scanned the radar rotates in the opposite direction

Gun:
- the gun is adjusted for robot
- if enemy robot scanned the gun is induced on it
    - with using head-on targeting
    - plus predictable enemy's position
    - plus randomly +-N radians (if enemy robot is not disabled)
    - multiplied by a distance factor

Fire:
- fire only if:
    - distance less than N
    - gun is not heat
    - the robot has enough energy
    - the gun is not turning

Energy management:
- the bullet is distance-dependent: near - maximal, far - minimal, etc.
- the bullet is not more than enemy's energy

Movement:
- if enemy scanned the robot sideways to the target
- if enemy scanned and the robot doesn't move in this moment the robot changes
  direction and moves N px
- if the robot is near wall - move N px to center
- if enemy is disabled - finish current movement and ram the enemy

Other:
- clear all events in the end of first onScannedRobot()
