glmcdona / LuxPythonEnvGym

Matching python environment code for Lux AI 2021 Kaggle competition, and a gym interface for RL models.
MIT License
73 stars 38 forks source link

Small error in Game.spawnCityTile() #39

Closed nofate090 closed 3 years ago

nofate090 commented 3 years ago

This line declares cell https://github.com/glmcdona/LuxPythonEnvGym/blob/f962e66525985a542f178419f5595294c69e5cca/luxai2021/game/game.py#L438

This one overwrites cell https://github.com/glmcdona/LuxPythonEnvGym/blob/f962e66525985a542f178419f5595294c69e5cca/luxai2021/game/game.py#L446

This one (and others following) assumes cell is the original one from Nr1 https://github.com/glmcdona/LuxPythonEnvGym/blob/f962e66525985a542f178419f5595294c69e5cca/luxai2021/game/game.py#L460