Specifically, the Cartpole-v0 environment from OpenAI's Gym, implemented with with Magnum and Eigen and Adriel-M's Cartpole-v0 solution.
$ esbox2d.exe
...
Mouse to interact
Enter to run
R to reset
D to disable on done
The Enter
key runs 100 generations for 200 steps in a population of 10. The R
key resets the simulation, using the current weights to drive the cartpole.
You'll need..
git clone https://github.com/alanjfs/esbox2d.git
cd esbox2d
mkdir build
cd build
cmake ..
cmake --build .
Tested with Visual Studio 2019, open the
CMakeLists.txt
file as-is
It currently isn't learning anything.