first half of sample game works.