start game functionality