Refactor part of the game code by creating a new separate method that better conveys what is happening when trying to find an exact match.