Here's the entire tiny game.  The first half is in BASIC, the second half is in 6502 machine language and is really the actual game code.  Back then, you could only make fast games if they were in assembler/machine language.  With Scout Search, I discovered that the secret to getting my games published was to have a bit of BASIC and a bit of 6502 assembler - a nice mix that actually made the code smaller because all the text printing and mundane code was kept short in BASIC and the exciting, fun game code was in 6502.