diff --git a/kaggle_environments/envs/chess/chess.json b/kaggle_environments/envs/chess/chess.json index 2b16c048..536cb420 100644 --- a/kaggle_environments/envs/chess/chess.json +++ b/kaggle_environments/envs/chess/chess.json @@ -11,7 +11,7 @@ "description": "Obsolete field kept for backwards compatibility, please use observation.remainingOverageTime.", "type": "number", "minimum": 0, - "default": 10 + "default": 20 } }, "reward": { @@ -31,7 +31,7 @@ "defaults": ["white", "black"], "enum": ["white", "black"] }, - "remainingOverageTime": 10 + "remainingOverageTime": 20 }, "action": { "description": "Move in UCI notation (e.g., e2e4)", diff --git a/kaggle_environments/envs/chess/chess.py b/kaggle_environments/envs/chess/chess.py index d16eff63..91fc109a 100644 --- a/kaggle_environments/envs/chess/chess.py +++ b/kaggle_environments/envs/chess/chess.py @@ -177,9 +177,7 @@ def interpreter(state, env): seen_positions = defaultdict(int) game_start_position = math.floor(random.random() * len(OPENINGS)) state[0].observation.board = OPENINGS[game_start_position] - state[0].observation.remainingOverageTime = 10 state[1].observation.board = OPENINGS[game_start_position] - state[1].observation.remainingOverageTime = 10 return state if state[0].status == ACTIVE and state[1].status == ACTIVE: