From 7b86e56bc6be949747d9b531734ff305a21fc320 Mon Sep 17 00:00:00 2001 From: Bovard Doerschuk-Tiberi Date: Sat, 9 Nov 2024 17:10:08 +0000 Subject: [PATCH] remove unused lines of js --- kaggle_environments/envs/chess/chess.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/kaggle_environments/envs/chess/chess.js b/kaggle_environments/envs/chess/chess.js index 3f2a5558..b62faad1 100644 --- a/kaggle_environments/envs/chess/chess.js +++ b/kaggle_environments/envs/chess/chess.js @@ -42,8 +42,6 @@ async function renderer(context) { const agent1 = info?.TeamNames?.[0] || "Agent 1"; const agent2 = info?.TeamNames?.[1] || "Agent 2"; const firstGame = environment.steps[step][0].observation.mark == "white" - const white = firstGame ? agent1 : agent2 - const black = firstGame ? agent2 : agent1 const fontSize = Math.round(.33 * offset) c.font = `${fontSize}px sans-serif`; c.fillStyle = "#FFFFFF";