You could just check the typed string against all zombies instead of making the player type a number. Although this way you also get to train your number typing.