A genetic algorithm optimizes a robot's strategy to clean a littered room. This is based on an example genetic algorithm posed in Dr. Melanie Mitchell's Complexity: A Guided Tour.
This is visible on my website, or you can run it locally:
- Clone the repository
- Install dependencies
npm install
Note: If you have a modern version of
npm
, this will automatically run theprepare
task, which does a build. Otherwise you will need to runnpm run build
yourself.
- Run the server
npm start