Bug solving, remainingAttemps now stay positive