kaggle-environments 1.17.10__py2.py3-none-any.whl → 1.17.11__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of kaggle-environments might be problematic. Click here for more details.
- kaggle_environments/__init__.py +1 -1
- kaggle_environments/envs/open_spiel/games/chess/chess.js +2 -2
- {kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/METADATA +1 -1
- {kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/RECORD +8 -8
- {kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/WHEEL +1 -1
- {kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/entry_points.txt +0 -0
- {kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/licenses/LICENSE +0 -0
- {kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/top_level.txt +0 -0
kaggle_environments/__init__.py
CHANGED
|
@@ -20,7 +20,7 @@ from .core import *
|
|
|
20
20
|
from .main import http_request
|
|
21
21
|
from . import errors
|
|
22
22
|
|
|
23
|
-
__version__ = "1.17.
|
|
23
|
+
__version__ = "1.17.11"
|
|
24
24
|
|
|
25
25
|
__all__ = ["Agent", "environments", "errors", "evaluate", "http_request",
|
|
26
26
|
"make", "register", "utils", "__version__",
|
|
@@ -295,8 +295,8 @@ function renderer(options) {
|
|
|
295
295
|
const isMobile = window.innerWidth < 768;
|
|
296
296
|
|
|
297
297
|
// Calculate and apply board size
|
|
298
|
-
const containerWidth = currentBoardContainer
|
|
299
|
-
const containerHeight = currentBoardContainer
|
|
298
|
+
const containerWidth = currentBoardContainer?.clientWidth ?? width;
|
|
299
|
+
const containerHeight = currentBoardContainer?.clientHeight ?? height;
|
|
300
300
|
const smallestContainerEdge = Math.min(containerWidth, containerHeight);
|
|
301
301
|
const newSquareSize = Math.floor(smallestContainerEdge / displayCols);
|
|
302
302
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
kaggle_environments/__init__.py,sha256=
|
|
1
|
+
kaggle_environments/__init__.py,sha256=BoiIlX0lR_CDejEoWTSOXz8UVsK4HrVbCMLt6TtFtdc,2176
|
|
2
2
|
kaggle_environments/agent.py,sha256=IgRagzcTi6F73nPeViDdh9wvHnx8fQhFmXJNutovGZE,6706
|
|
3
3
|
kaggle_environments/api.py,sha256=eLBKqr11Ku4tdsMUdUqy74FIVEA_hdV3_QUpX84x3Z8,798
|
|
4
4
|
kaggle_environments/core.py,sha256=PzF9NR0rFfFikspJ3HE0uI8UOiv_tlDhGSbu11g9vQQ,27860
|
|
@@ -196,7 +196,7 @@ kaggle_environments/envs/open_spiel/proxy.py,sha256=8Shane4KWYKvbP9nV3l8VQfAFOfF
|
|
|
196
196
|
kaggle_environments/envs/open_spiel/proxy_test.py,sha256=QkmRo_uS0DgDDm2pbU2vwal5KOMCWKw92rC2_g3MziM,1837
|
|
197
197
|
kaggle_environments/envs/open_spiel/test_open_spiel.py,sha256=MwyjH-e00-3SP8_r10drYTFvplacbo0cDCI0XKtE4wU,3596
|
|
198
198
|
kaggle_environments/envs/open_spiel/games/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
199
|
-
kaggle_environments/envs/open_spiel/games/chess/chess.js,sha256=
|
|
199
|
+
kaggle_environments/envs/open_spiel/games/chess/chess.js,sha256=1WEZrngIX-0zNltBg1lWj8aqTWTMGIzCLSR83sUXa3g,19277
|
|
200
200
|
kaggle_environments/envs/open_spiel/games/connect_four/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
201
201
|
kaggle_environments/envs/open_spiel/games/connect_four/connect_four.js,sha256=iO74ar3Hh64VYEx9v3eysgrPU-Mcokl9dkFxie6uISg,14893
|
|
202
202
|
kaggle_environments/envs/open_spiel/games/connect_four/connect_four_proxy.py,sha256=2otG99felDYhNhWpsadbM9YUaHtrXqhV1GFNEHhuPwA,2348
|
|
@@ -224,9 +224,9 @@ kaggle_environments/envs/tictactoe/tictactoe.js,sha256=NZDT-oSG0a6a-rso9Ldh9qkJw
|
|
|
224
224
|
kaggle_environments/envs/tictactoe/tictactoe.json,sha256=zMXZ8-fpT7FBhzz2FFBvRLn4XwtngjEqOieMvI6cCj8,1121
|
|
225
225
|
kaggle_environments/envs/tictactoe/tictactoe.py,sha256=uq3sTHWNMg0dxX2v9pTbJAKM7fwerxQt7OQjCX96m-Y,3657
|
|
226
226
|
kaggle_environments/static/player.html,sha256=l00X3_tfLtr_DmP7xpJFs8lKaTQoZtdexnKlHvT1fHc,25320
|
|
227
|
-
kaggle_environments-1.17.
|
|
228
|
-
kaggle_environments-1.17.
|
|
229
|
-
kaggle_environments-1.17.
|
|
230
|
-
kaggle_environments-1.17.
|
|
231
|
-
kaggle_environments-1.17.
|
|
232
|
-
kaggle_environments-1.17.
|
|
227
|
+
kaggle_environments-1.17.11.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
228
|
+
kaggle_environments-1.17.11.dist-info/METADATA,sha256=ehWejRG8czTeFjtHtCWZxDt7BuJo57M3nM8xWjUx7Oo,10956
|
|
229
|
+
kaggle_environments-1.17.11.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
230
|
+
kaggle_environments-1.17.11.dist-info/entry_points.txt,sha256=HbVC-LKGQFV6lEEYBYyDTtrkHgdHJUWQ8_qt9KHGqz4,70
|
|
231
|
+
kaggle_environments-1.17.11.dist-info/top_level.txt,sha256=v3MMWIPMQFcI-WuF_dJngHWe9Bb2yH_6p4wat1x4gAc,20
|
|
232
|
+
kaggle_environments-1.17.11.dist-info/RECORD,,
|
{kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{kaggle_environments-1.17.10.dist-info → kaggle_environments-1.17.11.dist-info}/top_level.txt
RENAMED
|
File without changes
|