Assessment 3/New Code for game