Setup
- Install node: https://nodejs.org/en/download/
- Run these commands in your project folder:
npm install npm test npm start
Browser Commands
world.addNest(5, 5)
world.addFood(2,2,1000)
world.addAnt() (requires a nest to exist)
// This does the 3 steps above, plus adds 50 ants:
window.setupAndStart()