nextstep

added some necessary code into GameLogic class