/zombify

Primary LanguageJavaScript

Zombie Apocalypse V3

Zombie Apocalypse V3. An input file is supplied through a command line argument. Zombies and creatures are placed based on co-ordinates read from file. The zombies move based on a chain of input sequences read from the input file. If a zombie touches a creature, the creature becomes a zombie and will inherit the zombies movement sequence.

###Pre-requisites: Nodejs must be installed to run the app (https://nodejs.org/)

Usage

  • Clone repository or decompress supplied zip file
  • Open terminal and change directory to project directory
  • Move input files to same directory as project directory
  • Run the following command: node zombie sample.txt where sample.txt can be any input file