reset game in the end