genetic-server

AI genetic server learning

Usage no npm install needed!

<script type="module">
  import geneticServer from 'https://cdn.skypack.dev/genetic-server';
</script>

README

Configuration

See config.json

Usage example

while ((1)); do
  currentParams=`curl http://localhost:8020/current`
  score=`doYourThing currentParams`
  curl -d '{"score":$score}' http://localhost:8020/learn
done