@corsaircoalition/strategy-sentinel
v1.2.0
Published
bot component that analyzes game state and selects actions
Downloads
2
Maintainers
Readme
Strategy Sentinel
Generally Genius (GG) is a modular generals.io bot framework for development and analysis of game strategies and actions. CorsairCoalition is a collection of components that form the GG framework.
Strategy Sentinel receives action recommendations from Armada Assault, and in an ideal situation, selects the best sequence of actions based on the current state of the game, and relays those to the Sergeant Socket to send to the game server. In the current implementation, it relays all recommended actions to the game server, which makes the bot very erratic. Correct implementation of the strategy module is left as an exercise for the reader.
Configuration
Download config.example.json
from the documentation repository and make desired changes.
To setup other components, see the detailed instructions on the project website.
Execution
Install and run the executable:
npm install -g @corsaircoalition/strategy-sentinel
strategy-sentinel config.json
or run directly from npm library:
npx @corsaircoalition/strategy-sentinel config.json
or use docker:
docker run -it -v ./config.json:/config.json ghcr.io/corsaircoalition/strategysentinel:latest
Usage
Usage: @corsaircoalition/strategy-sentinel [options] <configFile>
bot component that analyzes game state and selects actions
Options:
-V, --version output the version number
-d, --debug enable debugging (default: false)
-h, --help display help for command