Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Evolving-Snakes: Snakes from the classic game evolve using a genetic algorithm (github.com/indjev99)
50 points by ingve on Sept 17, 2017 | hide | past | favorite | 6 comments



Semi-related question: could you train a bot to play a game like Agar.io by pitting a whole bunch of bot players against each other in the same instance?


Not a neural net, but here is my attempt at that:

agar.evo

https://codepen.io/lilgreenland/pen/aNemmK

Each cell has about 10 behavioral parameters that are assigned randomly. Cells that eat enough can reproduce with slight variation.


Sure, but it would take forever to get good results. Ideally you want simulations to run much faster than realtime, and massively parallel.

Check out recent videos on Dota AI training, if you haven't already.


Hey, guys. Author of the project here. Just checked the traffic on the repo of the project and you make up about two thirds of it and I didn't even know about this forum or that my project was linked here :D Glad you found it interesting.


Welcome to Hacker News! (I work on HN.) You're the sort of user we hope will find this site interesting and stick around.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: