I suspect with the traditional BASIC program, being "terminal" base, you could look at your inputs and see the results for your earlier guesses displayed.
With your implementation you don't display the results alongside the guesses, so you can't refer back to the previous results and have to rely on you memory of the results for every guess.
That is probably not in the spirit of the game. When I did a search on "Bagels Game" the first link I looked at was a web implementation and it had two columns of textboxes. You entered your guess in a textbox in the left column and the result was shown in the textbox on the same row in the second column.
I think that indicates that you should probably be showing the results for each guess along side the guess in your implementation.
p.s. Also, there is a pdf file
here that mentions the rules of the game and says that digits are not to be repeated within the number.
The web version won't accept a guess that has repeated digits, and the small basic version implementation
found here does have a nested loop that checks for a duplicate digit in the subsequent choices when choosing the digits for the number, and re-chooses a digit for that position until it is unique.
Perhaps the code you translated didn't do that so wasn't a standard implementation of the game.