Adjust dome command line parameters
This commit is contained in:
parent
928cff6400
commit
ebadd02df7
1 changed files with 12 additions and 12 deletions
24
src/game.py
24
src/game.py
|
@ -52,25 +52,25 @@ def parse_aguments():
|
||||||
default='score',
|
default='score',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
parser.add_argument('-br', '--black-randomize-moves',
|
||||||
|
help='Apply a random function on moves list before explore the game tree - black player',
|
||||||
|
type=bool,
|
||||||
|
default=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
parser.add_argument('-wr', '--white-randomize-moves',
|
||||||
|
help='Apply a random function on moves list before explore the game tree - white player',
|
||||||
|
type=bool,
|
||||||
|
default=True,
|
||||||
|
)
|
||||||
parser.add_argument('--weight',
|
parser.add_argument('--weight',
|
||||||
help='Weight table for weight based heuristic engines',
|
help='Weight table for weight based heuristic engines',
|
||||||
type=int,
|
type=int,
|
||||||
nargs=4,
|
nargs=4,
|
||||||
default=[-5, 2, 10,25]
|
default=[-5, 2, 10,25]
|
||||||
)
|
)
|
||||||
parser.add_argument('-bR', '--black-randomize-moves',
|
|
||||||
help='Apply a random function on moves list before explore the game tree - black player',
|
|
||||||
type=bool,
|
|
||||||
default=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
parser.add_argument('-wR', '--white-randomize-moves',
|
|
||||||
help='Apply a random function on moves list before explore the game tree - white player',
|
|
||||||
type=bool,
|
|
||||||
default=True,
|
|
||||||
)
|
|
||||||
parser.add_argument('--show-weights-table',
|
parser.add_argument('--show-weights-table',
|
||||||
help='Display weight table used in \'weight\' and \'full\' heuristic calculation',
|
help='Display weight table used in \'weight\' and \'full\' heuristic calculation and exit',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue