Skip to content

cbpetersen/tetris-ml-evolutionary-api

Repository files navigation

Tetris Machine learning Api

js-standard-style Bun build

Machine learning api for distributed gamee agents

Let agents poll settings through a rest endpoint eg localhost:3000/evolution/settings which will then return the settings the agent should run games with. When agents has completed a game the result can be submitted through a post to localhost:3000/evolution/:evolutionId/result When enough games has been played the server will then evolve to the next evolution by evaluating the values of the best games in the previous evolution, and thereby incrementally improve on each evolution.

To run the server

build and run with docker compose or just run npm start directly

Dr Mario engines

mono / .Net core engine terminal

Tetris engines

mono / .Net core engine terminal

mono / .Net core engine unity 3d