reset/new game function updated