Tremfusion.net

Alien bots

From TremFusion

This page is part of the bots branch

Overview

The current design for alien bots is to use a multi-tiered state machine. The following image shows the highest tier:

Alien States 1.png

The idea here is that the alien has two major modes, offensive and defensive. In the future, a building mode will be added, but until then, these modes cover everything. The Healing state acts as the hub of a spoke-and-wheel organization. This is where the decision for any major state transition is made.

State Descriptions

Below is a description of each state. Transitions from states are described farther-down

Heal

In this state the bot attempts to recover hit points without incurring increasing damage. If a booster exists, is reachable, and the alien doesn't have poison,