moved startGame method
moved method