make end-game condition and game reset