I think it checks if you get far enough on one side or the other of the preprinted numbers on the tape that the numbers can no longer be seen, at which point it declares an infinite loop and restarts. Sure, technically it should keep going, but it's a game.