[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 580: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 636: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3257)
OpenBW • TSBW4J (V0.1)
Page 1 of 1

TSBW4J (V0.1)

Posted: Wed Mar 22, 2017 7:59 pm
by IMP
A first (alpha) version of the "type-safe" BWAPI framework for Java is available at
https://github.com/OpenBW/TSBW4J

"type-safe" refers to the fact that all units are modeled as different types and each type can only execute legal actions.
So "unit.gather(unit)" becomes "Worker.gather(MineralPatch)". A CommandCenter cannot attack, but CommandCenter.train(Worker) is available, etc.

The idea is to 1) make life easier and code clearer for the developer and 2) automatically reduce the possible action space and filter out many illegal combinations.

Currently, only Terran bots are supported. However, opponents can be any race.