game reset logic working