entity-neural-network / incubator

Collection of in-progress libraries for entity neural networks.
Apache License 2.0
29 stars 10 forks source link

Fix bug in MultiSnake environment #215

Closed cswinter closed 2 years ago

cswinter commented 2 years ago

Environment was spawning food before processing all actions, which made it possible for a food of the wrong color to spawn in the previously empty tile into which one the snakes is moving, randomly ending the game and making it impossible (or very difficult) to consistently reach the maximum score.