Lux-AI-Challenge / Lux-Design-S1

Home to the design and engine of the @Lux-AI-Challenge Season 1, hosted on @kaggle
https://lux-ai.org/
Apache License 2.0
897 stars 151 forks source link

One off errors #33

Closed StoneT2000 closed 3 years ago

StoneT2000 commented 3 years ago

There is a one off error either in the engine, kit, or visualizer.

E.g. visualizer shows the first turn as turn 0 and actually renders the end of the turn 0. Kits are 1-indexed (due to engine starting at turn 1).

StoneT2000 commented 3 years ago

Actually looking more into it, the engine runs 361 turns, not 360, and first day/night cycle has an extra turn of day...

LittleAlvinMaker commented 3 years ago

I submitted a pull request to remove the extra day in the engine code. https://github.com/Lux-AI-Challenge/Lux-Design-2021/pull/36