Library with game logic for twenty-one