Programs for performing calculations on games with betting lines