daffidwilde / matching

A package for solving matching games
https://daffidwilde.github.io/matching/
MIT License
149 stars 42 forks source link

v1.4.2: Make cleaning exhaustive #160

Closed daffidwilde closed 11 months ago

daffidwilde commented 11 months ago

Fixes #159. For some reason, players with empty preferences weren't being removed sometimes. There was some sort of circular reference in the BaseGame._remove_player() method, which I've removed by using a list comprehension.