Refactors method that tracks possible moves and their scores