moved general methods into abstract poker.game class