We set out to make the best AI for asteroids possible. We figured that we couldn’t write it ourselves, so we instead chose to get machine learning to do it for us!
When an AI gets submitted, it is played against our AI in the browser, but is also submitted to a pool of all of the submissions made so far. A worker is constantly running games against this pool and slowly training parameters of a machine learning model with a genetic algorithm. The more data collected, the better our AI gets.
One of the coolest parts about our AI is that it knows nothing at all about the rules of Asteroids - it literally only knows the moves it is allowed and the inputs passed into it. Throws enough data at this, patterns begin to emerge and its able to win against some strong AIs.
Hope you like it!
You can check it out here: http://aisteroids.azurewebsites.net/
Log in or sign up for Devpost to join the conversation.