OMG, I remember playing that game on my friends watch. Lets see, peeling back lots of time the year was 1982/83. On the watch version, the "aim" was the left side of the calc keypad, and "fire" was the right half. If I remember correctly, you had to press aim, which incremented the choice to fire. so if you were aiming at 8 then wanted to shoot 7, you had to press aim 9 times. Are you doing it this way, or do you have a numeric keypad to directly choose the number?
As for you actual question, I think my approach would be to have an array representing the entire string. Starting the game would have that array filled with " ".Then shift the array for every number added, decreasing the delay between shifts as the player gets to a higher level. When the fire button is pressed ( or a number key), search the array for the first match. Shift the remaining parts of the array back 1 place. This will then just over write the match and fill in the last place with a " ".
Does this help any? This sounds like a fun project, I love the old stuff

Bookmarks