TankWars AI Model

Home
Code Generation
Microwave Model
SpaceRacer AI Model
TankWars AI Model

TankWars AI Model

This page describes the TankWars model developed for the "Model-Based Design of Game AI" article (see front page for reference) and reused to test the new C++ code generator. It is composed of fire components:


WallDetector

This components monitors the input provided by the game radar and sends an event to the tank component when a wall is detected.

FuelMonitor

This components monitors the fuel level of the tank and sends an event to the tank component when key fuel levels are reached (100%, 75%, 50%, etc).

HealthMonitor

This components monitors the health level of the tank and sends an event to the tank component when key health levels are reached (100%, 75%, 50%, etc).

TankControl

This components makes the decision about the tanks behavior, depending on the input sent from the previously presented components. Those decisions are sent to the Outputer.

Outputer

The outputer records the decisions received from the tank control. Those decisions are used when the Outputer is pooled for an action by the framework code.