SpaceRacer AI Model

Home
Code Generation
Microwave Model
SpaceRacer AI Model
TankWars AI Model

SpaceRacer AI Model

This page describes the SpacerRacer AI developped for this project. It is composed of three components:


Radar Observer

This components monitors the input provided by the game radar and updates the Ship Navigation Control and the Ship Speed Control when a relevant change is detected.

Ship Navigation Control

This components navigates (tries to :-) the ship between asteroid. When an asteroid is detected, the navigator decides if it should travel up or down, depending on the position of the ship and the asteroid.

Ship Speed Control

This components controls the speed of the ship. When very few asteroids are detected (less than 5), the ship travels at maximum speed. If some asteroids are detected ahead (between 5 and 10), the ship slows down slightly. If many asteroids are detected (more than 10), the ship will travel at less than 50% speed.

Files

  • RadarObserver [java]
  • Ship Navigation Control [java]
  • Ship Speed Control [java]