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 152 forks source link

Update and refactor isNight() #36

Closed LittleAlvinMaker closed 3 years ago

LittleAlvinMaker commented 3 years ago

Remove the off-by-1 error in counting the day & night cycle, and clean up the logic to be more clear. Also, remove currentTurnIsNight().

StoneT2000 commented 3 years ago

Thanks, will review later