|
TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
Predicts the outcome of a hypothetical fight by simulating unit movements/attacks. More...
#include <combatsim.h>
Classes | |
| struct | SimUnit |
| struct | Team |
Public Member Functions | |
| bool | addUnit (Unit *u) |
| void | run (int frames) |
Public Attributes | |
| double | speedMult = 1.0 |
| std::array< Team, 2 > | teams |
Predicts the outcome of a hypothetical fight by simulating unit movements/attacks.
Uses a high speed/low precision approximation of Brood War mechanics, ignoring elements like collisions, splash damage, accleration, turn rates, attack animations, and spells.
| bool cherrypi::CombatSim::addUnit | ( | Unit * | u | ) |
| void cherrypi::CombatSim::run | ( | int | frames | ) |
| double cherrypi::CombatSim::speedMult = 1.0 |
| std::array<Team, 2> cherrypi::CombatSim::teams |
1.8.11