how to calculate games behind