A JavaScript-based simulation of ant colony behavior driven by scent trails.
- Scent Trails: Ants emit various scents and follow the traces of others.
- Environmental Objects: Includes sugar sources, an ant nest and various obstacles.
- Evolution: Ants evolve over time, optimizing their probe length for more efficient sugar collection.
- Node.js (Latest LTS recommended)
-
Clone the repository:
git clone <repository-url> cd ants-js
-
Install dependencies:
npm install
Start the development server with hot-reload:
npm run devBuild the project for production (output in dist/):
npm run buildPreview the production build:
npm run serveRun the unit tests:
npm run test