Website containing a genetic algorithm engine that can work with different selection, mutation, and cross methods, as well as multiple stop criteria.
The point of the engine is to select the best equipment/height setup for an RPG character.
A hosted version of the website can be found at https://bensas.github.io/genetic_algorithms/
Requirements:
- Node Package Manager (npm)
Steps:
-
Clone the repo:
git clone https://github.com/Bensas/GeneticAlgorithms
-
Enter the directory:
cd GeneticAlgorithms
-
Install dependencies:
npm install
-
Add dataset files in the
dist/datasets
folder (if there isn't one, you should create it) -
Compile typescript/run development server:
npm run serve
The website can be found in http://localhost:8080/dist/ :)
To run Mocha/Chai tests:
- Run
npm test
- Have a hot chocolate :)