Zombie combat

The player primarily engages in combat with zombies. This is the central mechanic and main challenge. Each zombie is associated with a word or short phrase chosen randomly from a dictionary for each zombie at level start up. The player must speed-type letters on the keyboard during combat to match the word or phrase for the nearest attacking zombie. If the player makes a mistake by entering the wrong letter, then the current word match is reset; that is, the player must retype the complete word or phrase from the beginning. Only a completely correct entry, letter for letter, qualifies as a match, after which the associated zombie is destroyed. This mechanic means that we must accept keyboard input from the player, such as a ...

Get Mastering Unity 2017 Game Development with C# - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.