aturfah / cmplxsys530-final

Final Project for Complex Systems 530 WN18
MIT License
2 stars 2 forks source link

Enhancement ladder not removing from pool #164

Closed aturfah closed 5 years ago

aturfah commented 5 years ago

Addresses Issue #162

Updates

The ladder no longer removes players from the player pool. It instead sets an in_game flag. In addition, instead of checking against player_pool, it checks against the available_players. The purpose of this change is so that way when Elo rankings are calculated for generating stats, they are not affected by the fact that some players may be in games.

Test Cases

agent_tests/base_agent_test.py

ladder_tests/base_ladder_test.py