Skip to content

Command line interface

lrozenblyum edited this page Aug 28, 2019 · 8 revisions

Command line parameters are passed as Java -D<name>=<value>

Parameter name Meaning Versions
white Player that will play for white 0.1 - 0.3
black Player that will play for black 0.1 - 0.3
white.engine Player that will play for white 0.4+
black.engine Player that will play for black 0.4+
white.depth Depth of thinking for white 0.4+
black.depth Depth of thinking for black 0.4+

Limitations: white.depth, black.depth are supported only for Legal player (as per 0.4) white.depth, black.depth are supported only for brain.normalized (as per 0.5)

Parameter name (s) Value Meaning Versions
white/black Legal Denormalized brain of Legal player will play for the side 0.1 - 0.3
white.engine/black.engine Legal Normalized brain of Legal player will play for the side 0.4
white.engine/black.engine brain.normalized Normalized brain of Legal player will play for the side 0.5+
white.engine/black.engine brain.denormalized Denormalized brain of Legal player will play for the side 0.5+
white.engine/black.engine brain.random Random brain of Legal player will play for the side 0.6+
white/black Simple Simple player will play for the side 0.1
white/black Simple Simple brain of Legal player will play for the side 0.2-0.3
white.engine/black.engine Simple Simple brain of Legal player will play for the side 0.4
white.engine/black.engine brain.simple Simple brain of Legal player will play for the side 0.5+
white/black Winboard Winboard player will play for the side 0.1-0.3
white.engine/black.engine Winboard Winboard player will play for the side 0.4
white.engine/black.engine ui.winboard Winboard player will play for the side 0.5+
white.depth/black.depth 1 The player will think for 1 ply 0.4+
white.depth/black.depth 2 The player will think for 2 plies 0.4+

Limitations:

  1. You cannot pass Winboard (ui.winboard) in white and black parameters simultaneously (the same is true for white.engine, black.engine).
  2. UCI player exists in 0.1+ but is not selectable through CLI
  3. Thinking for more than 2 plies is not supported (as per 0.4)
Parameter Default Versions
white Winboard 0.1-0.3
black Simple 0.1
black Legal 0.2-0.3
white.engine Winboard 0.4
black.engine Legal 0.4
white.engine ui.winboard 0.5+
black.engine brain.normalized 0.5+
white.depth 1 0.4+
black.depth 1 0.4+

NOTE: although internally white.depth, black.depth have default 1, the value suggested in *.bat for black.depth is 2 (as per 0.4).

Clone this wiki locally