Liberty, games, and contracts