diff --git a/src/game.py b/src/game.py index bf30d3d..fcb72b6 100755 --- a/src/game.py +++ b/src/game.py @@ -52,25 +52,25 @@ def parse_aguments(): 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', help='Weight table for weight based heuristic engines', type=int, nargs=4, 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', - 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', )