@corsaircoalition/sergeant-socket
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Sergeant Socket

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.

SergeantSocket is an IO module that connects to generals.io via socket.io, publishes all game updates to the Redis message broker, and receives command and actions from other components on Redis.

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/sergeant-socket
sergeant-socket config.json

or run directly from npm library:

npx @corsaircoalition/sergeant-socket config.json

or use docker:

docker run -it -v ./config.json:/config.json ghcr.io/corsaircoalition/sergeantsocket:latest

Usage

Usage: @corsaircoalition/sergeant-socket [options] <configFile>

a modular generals.io bot that implements advanced learning techniques

Options:
  -V, --version       output the version number
  -d, --debug         enable debugging (default: false)
  -h, --help          display help for command

/@corsaircoalition/sergeant-socket/

    Package Sidebar

    Install

    npm i @corsaircoalition/sergeant-socket

    Weekly Downloads

    1

    Version

    3.0.0

    License

    Apache-2.0

    Unpacked Size

    65.3 kB

    Total Files

    15

    Last publish

    Collaborators

    • aaditya