Skip to content

Instantly share code, notes, and snippets.

@emabrey
Last active January 17, 2017 00:43
Show Gist options
  • Save emabrey/421e7cf0222214b8d8223a9c0bf70f82 to your computer and use it in GitHub Desktop.
Save emabrey/421e7cf0222214b8d8223a9c0bf70f82 to your computer and use it in GitHub Desktop.
The output of running `Battlecode Client.exe -- --help`
Usage: Battlecode Client.exe -- [options]
Options:
-f <true or false>, --fullscreen <true or false>
Whether to try to run the game in full-screen [false]
-w <positive-number>, --width <positive-number>
The width dimension of the client window [600]
-h <positive-number>, --height <positive-number>
The height dimension of the client window [600]
-c <true or false>, --circles <true or false>
Whether or not to draw a circle under each robot [false]
-r <true or false>, --indicators <true or false>
Whether or not to display indicator dots and lines [true]
-b <true or false>, --bars <true or false>
Whether or not to show the health bars [true]
-k <GAME or HELP or MAPEDITOR or CONSOLE or QUEUE>, --mode <GAME or HELP or MAPEDITOR or CONSOLE or QUEUE>
What mode should the GUI window show when initialized [0]
-v <version-string>, --version <version-string>
The version of the game we are simulating [ANY]
-t <positive-number>, --turns <positive-number>
The number of turns to evaluate per second (not the same as FPS) [20]
-s <url>, --socket <url>
The URL to bind for the websocket used for communication between the server and client
-m <url>, --match <url>
A relative path to a match file which you want opened immediately upon starting (this does not work in the browser!)
-p <positive-number>, --pollrate <positive-number>
How often to poll the server via websocket in ms [500]
-i <true or false>, --interpolate <true or false>
Whether or not the client should interpolate between frames [true]
-g <true or false>, --sight <true or false>
Whether or not to display the sight radius [false]
-u <true or false>, --bulletsight <true or false>
Whether or not to display the bullet sight radius [false]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment