refactored hand evaluation to enable players to use it