If you plan to develop your entry in JavaScript you need to download and install Node.js v0.12.x.
Download the zip file from Github or use Git to clone the repository:
- Start Git Bash
- Change to the directory where you want to checkout the sample bot
- Run:
git clone https://github.com/EntelectChallenge/2015-SpaceInvaders-Bot-NodeJS.git
The easiest way to compile is to open a Command Prompt, change to your bot folder and run compile.bat
. This will use NPM to fetch your dependencies and build your bot.
Once you have compiled you can do a basic test of the bot by simply launching a Command Prompt, changing to the bot directory and running run.bat output
. This will use the example state and map files in the output folder.