The only randomness in the machine code is
RANDOM, a 32-bit shift register
at $B428, which decides which way an ant turns when it is not getting closer
(and makes the hiss of
NOISE).
BASIC's
line 210 sets it to 1, 1, 1, 1 with the other variables at the start
of every level and every retry, so an attempt played with the same keys on
the same frames plays out the same, ant for ant. Watched in the emulator: it
held 1, 1, 1, 1 at the start of
PLAY on a retry, as on a new level.