Creating and studying lottery games